Updated on 2026-08-14

This commit is contained in:
Tangem 2025-08-13 16:23:18 +04:00
parent cf6b5dbabb
commit 853304539d
12 changed files with 285 additions and 28 deletions

View file

@ -53,6 +53,12 @@ internal class DefaultAccountsCRUDRepository(
}
}
override suspend fun getTotalAccountsCount(userWalletId: UserWalletId): Int {
val activeAccountsCount = runtimeStore.getSyncOrNull()?.size ?: 1
return activeAccountsCount + 1
}
override fun getUserWallet(userWalletId: UserWalletId): UserWallet {
return userWalletsStore.getSyncStrict(userWalletId)
}