Updated on 2026-08-14

This commit is contained in:
Tangem 2024-09-05 15:13:26 +04:00
commit 0bdf627def
12 changed files with 219 additions and 30 deletions

View file

@ -88,4 +88,15 @@ internal class DefaultSettingsRepository(
preferences[PreferencesKeys.APP_LAUNCH_COUNT_KEY] = count + 1
}
}
override suspend fun shouldShowMarketsTooltip(): Boolean {
return appPreferencesStore.getSyncOrDefault(
key = PreferencesKeys.SHOULD_SHOW_MARKETS_TOOLTIP_KEY,
default = true,
)
}
override suspend fun setMarketsTooltipShown(value: Boolean) {
appPreferencesStore.store(key = PreferencesKeys.SHOULD_SHOW_MARKETS_TOOLTIP_KEY, value = !value)
}
}