aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt4
1 files changed, 1 insertions, 3 deletions
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 76e2702c..b8bbd232 100644
--- a/app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt
+++ b/app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt
@@ -367,9 +367,7 @@ class PasswordStore : BaseGitActivity() {
fun decryptPassword(item: PasswordItem) {
val authDecryptIntent = item.createAuthEnabledIntent(this)
val decryptIntent =
- (authDecryptIntent.clone() as Intent).setComponent(
- ComponentName(this, DecryptActivity::class.java)
- )
+ Intent(authDecryptIntent).setComponent(ComponentName(this, DecryptActivity::class.java))
startActivity(decryptIntent)