diff options
author | agrahn <agrahn@users.noreply.github.com> | 2024-08-11 07:13:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-11 05:13:37 +0000 |
commit | d62516399e36be62a282d4be305381f9e1703fc7 (patch) | |
tree | 215a5f716d6ce7b512c7caf7f059cf08cadecfbe /app/src/main | |
parent | 16ed00562b563a34bfc3e67c000715853d06cd5d (diff) |
fix blocking createPasswordUI() when OTP is displayed (#3162)
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/app/passwordstore/ui/crypto/DecryptActivity.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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 fcf03781..372cd074 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) } } } |