mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-06 03:38:23 +00:00
LoginScreen's fire-and-forget save coroutine used rememberCoroutineScope which got cancelled when the composable left composition after login. Move saveCurrentAccount() to onLoginSuccess in Main.kt which uses the app-level scope that survives recomposition. Fixes both nsec login and generate-new-account flows. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>