Moves temporaryAccount handler to lazy loading
This commit is contained in:
+3
-1
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user