From 2d3d6707e83b42d675b9c12f96c6c0f7e2dd0f32 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 9 Dec 2022 18:20:02 +0530 Subject: chore(deps): upgrade ktfmt to 0.42 --- app/src/main/java/app/passwordstore/ui/dialogs/TextInputDialog.kt | 1 - app/src/main/java/app/passwordstore/ui/git/base/BaseGitActivity.kt | 1 + app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt | 5 ++--- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'app') diff --git a/app/src/main/java/app/passwordstore/ui/dialogs/TextInputDialog.kt b/app/src/main/java/app/passwordstore/ui/dialogs/TextInputDialog.kt index b0eb1aeb..1830c299 100644 --- a/app/src/main/java/app/passwordstore/ui/dialogs/TextInputDialog.kt +++ b/app/src/main/java/app/passwordstore/ui/dialogs/TextInputDialog.kt @@ -16,7 +16,6 @@ import com.google.android.material.dialog.MaterialAlertDialogBuilder * General purpose [DialogFragment] that can be used to accept a single text input. It provides a * configurable title and text input hint through the instantiation helper at * [TextInputDialog.newInstance]. Typical usage would look something like this: - * * ```kotlin * val dialog = TextInputDialog.newInstance(getString(R.string.dialog_title), getString(R.string.dialog_hint)) * dialog.show(supportFragmentManager, "text_input_dialog") diff --git a/app/src/main/java/app/passwordstore/ui/git/base/BaseGitActivity.kt b/app/src/main/java/app/passwordstore/ui/git/base/BaseGitActivity.kt index 70532702..8ae2da0f 100644 --- a/app/src/main/java/app/passwordstore/ui/git/base/BaseGitActivity.kt +++ b/app/src/main/java/app/passwordstore/ui/git/base/BaseGitActivity.kt @@ -65,6 +65,7 @@ abstract class BaseGitActivity : AppCompatActivity() { /** * Attempt to launch the requested Git operation. + * * @param operation The type of git operation to launch */ suspend fun launchGitOperation(operation: GitOp): Result { diff --git a/app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt b/app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt index 1e0d1c2a..27044b68 100644 --- a/app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt +++ b/app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt @@ -463,9 +463,8 @@ class PasswordStore : BaseGitActivity() { * * @param oldCategory The category to change its name * @param error Determines whether to show an error to the user in the alert dialog, this error - * may be due to the new category the user entered already exists or the field was empty or the - * destination path is outside the repository - * + * may be due to the new category the user entered already exists or the field was empty or the + * destination path is outside the repository * @see [CategoryRenameError] * @see [isInsideRepository] */ -- cgit v1.2.3