aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authoragrahn <agrahn@users.noreply.github.com>2024-08-11 07:13:37 +0200
committerGitHub <noreply@github.com>2024-08-11 05:13:37 +0000
commitd62516399e36be62a282d4be305381f9e1703fc7 (patch)
tree215a5f716d6ce7b512c7caf7f059cf08cadecfbe /app/src/main/java
parent16ed00562b563a34bfc3e67c000715853d06cd5d (diff)
fix blocking createPasswordUI() when OTP is displayed (#3162)
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/app/passwordstore/ui/crypto/DecryptActivity.kt2
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) }
}
}