Moves temporaryAccount handler to lazy loading

This commit is contained in:
Vitor Pamplona
2025-11-21 15:31:02 -05:00
parent 2bff998340
commit c5fae65f2d
@@ -37,7 +37,9 @@ class AuthCoordinator(
scope: CoroutineScope, scope: CoroutineScope,
) { ) {
private val authWithAccounts = ListWithUniqueSetCache<ScreenAuthAccount, Account> { it.account } private val authWithAccounts = ListWithUniqueSetCache<ScreenAuthAccount, Account> { it.account }
private val tempAccount = NostrSignerSync() private val tempAccount by lazy {
NostrSignerSync()
}
val receiver = val receiver =
RelayAuthenticator( RelayAuthenticator(