Updated on 2026-08-14

This commit is contained in:
Tangem 2024-09-04 12:50:27 +04:00
parent 324f207300
commit 0802dfb9fc
5 changed files with 35 additions and 0 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)
}
}