Updated on 2026-08-14
This commit is contained in:
commit
3e5ab44b4c
35 changed files with 225 additions and 59 deletions
|
|
@ -13,6 +13,8 @@ internal class DefaultBalanceHidingRepository(
|
|||
private val appPreferencesStore: AppPreferencesStore,
|
||||
) : BalanceHidingRepository {
|
||||
|
||||
override var isUpdateEnabled: Boolean = true
|
||||
|
||||
override fun getBalanceHidingSettingsFlow(): Flow<BalanceHidingSettings> {
|
||||
return appPreferencesStore.getObject(
|
||||
key = PreferencesKeys.BALANCE_HIDING_SETTINGS_KEY,
|
||||
|
|
|
|||
|
|
@ -16,8 +16,7 @@ class DefaultMarketCryptoCurrencyRepository(
|
|||
return assetsStore.getSyncOrNull(userWalletId)?.find {
|
||||
it.network == cryptoCurrency.network.backendId &&
|
||||
it.token == cryptoCurrency.id.rawCurrencyId &&
|
||||
it.contractAddress == contractAddress &&
|
||||
it.isActive
|
||||
it.contractAddress == contractAddress
|
||||
}?.exchangeAvailable ?: false
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue