Updated on 2026-08-14

This commit is contained in:
Tangem 2025-05-27 18:04:27 +05:00
parent 7868e94865
commit 1a0eaa779a
7 changed files with 77 additions and 3 deletions

View file

@ -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) {