diff --git a/app/src/main/java/app/passwordstore/ui/crypto/DecryptActivity.kt b/app/src/main/java/app/passwordstore/ui/crypto/DecryptActivity.kt index fcf03781b..372cd0749 100644 --- a/app/src/main/java/app/passwordstore/ui/crypto/DecryptActivity.kt +++ b/app/src/main/java/app/passwordstore/ui/crypto/DecryptActivity.kt @@ -302,7 +302,7 @@ class DecryptActivity : BasePGPActivity() { binding.recyclerView.itemAnimator = null if (entry.hasTotp()) { - entry.totp.collect(adapter::updateOTPCode) + lifecycleScope.launch { entry.totp.collect(adapter::updateOTPCode) } } }