Commit 5cb471c
Fix TOTP code freeze when adding new items in Authenticator
Use SharingStarted.Eagerly for per-item StateFlows to prevent them from
stopping emissions when the combined flow changes. This fixes an issue
where adding a new TOTP code would cause existing codes to freeze
permanently because WhileSubscribed() with no timeout immediately stops
flows when subscribers change.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent e306c06 commit 5cb471c
File tree
1 file changed
+1
-1
lines changed- authenticator/src/main/kotlin/com/bitwarden/authenticator/data/authenticator/manager
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments