Updated on 2026-08-14

This commit is contained in:
Tangem 2025-03-18 15:59:22 +05:00
parent 5de3e403f0
commit fb2f23c8a9
35 changed files with 674 additions and 191 deletions

View file

@ -208,6 +208,10 @@ internal class DefaultWalletsRepository(
.getObjectMap<Boolean>(PreferencesKeys.WALLETS_NFT_ENABLED_STATES_KEY)
.map { it[userWalletId.stringValue] == true }
override fun nftEnabledStatuses(): Flow<Map<UserWalletId, Boolean>> = appPreferencesStore
.getObjectMap<Boolean>(PreferencesKeys.WALLETS_NFT_ENABLED_STATES_KEY)
.map { it.mapKeys { UserWalletId(it.key) } }
override suspend fun enableNFT(userWalletId: UserWalletId) {
appPreferencesStore.editData {
it.setObjectMap(