aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/app/passwordstore/ui/crypto/PasswordCreationActivity.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/app/passwordstore/ui/crypto/PasswordCreationActivity.kt b/app/src/main/java/app/passwordstore/ui/crypto/PasswordCreationActivity.kt
index 1d20eae9..9466daf2 100644
--- a/app/src/main/java/app/passwordstore/ui/crypto/PasswordCreationActivity.kt
+++ b/app/src/main/java/app/passwordstore/ui/crypto/PasswordCreationActivity.kt
@@ -96,14 +96,14 @@ class PasswordCreationActivity : BasePgpActivity() {
else binding.extraContent.append(contents)
snackbar(message = getString(R.string.otp_import_success))
} else {
- snackbar(message = getString(R.string.otp_import_failure))
+ snackbar(message = getString(R.string.otp_import_failure_generic))
}
}
private val imageImportAction =
registerForActivityResult(ActivityResultContracts.GetContent()) { imageUri ->
if (imageUri == null) {
- snackbar(message = getString(R.string.otp_import_failure))
+ snackbar(message = getString(R.string.otp_import_failure_no_selection))
return@registerForActivityResult
}
val bitmap =
@@ -130,7 +130,7 @@ class PasswordCreationActivity : BasePgpActivity() {
snackbar(message = getString(R.string.otp_import_success))
binding.otpImportButton.isVisible = false
}
- .onFailure { snackbar(message = getString(R.string.otp_import_failure)) }
+ .onFailure { snackbar(message = getString(R.string.otp_import_failure_generic)) }
}
override fun onCreate(savedInstanceState: Bundle?) {