aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-12-09 18:20:02 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2022-12-09 18:22:25 +0530
commit2d3d6707e83b42d675b9c12f96c6c0f7e2dd0f32 (patch)
tree6106975d0b25a8bd8c7ac170cb08c19f405c775a /app/src
parent9f89e1dbf5a82b3e52a8b3377cd3ccc6853a9bab (diff)
chore(deps): upgrade ktfmt to 0.42
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/app/passwordstore/ui/dialogs/TextInputDialog.kt1
-rw-r--r--app/src/main/java/app/passwordstore/ui/git/base/BaseGitActivity.kt1
-rw-r--r--app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt5
3 files changed, 3 insertions, 4 deletions
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<Unit, Throwable> {
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]
*/