Updated on 2026-08-14
This commit is contained in:
parent
7868e94865
commit
1a0eaa779a
7 changed files with 77 additions and 3 deletions
|
|
@ -244,7 +244,7 @@ internal class DefaultWalletsRepository(
|
|||
|
||||
override suspend fun isNotificationsEnabled(userWalletId: UserWalletId): Boolean =
|
||||
appPreferencesStore.getObjectMap<Boolean>(PreferencesKeys.NOTIFICATIONS_ENABLED_STATES_KEY)
|
||||
.map { it[userWalletId.stringValue] }
|
||||
.map { it[userWalletId.stringValue] == true }
|
||||
.firstOrNull() ?: false
|
||||
|
||||
override suspend fun setNotificationsEnabled(userWalletId: UserWalletId, isEnabled: Boolean) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue