fix: remove use of unnecessary Object#clone
This commit is contained in:
parent
6a18c04e38
commit
a4d615b861
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue