Updated on 2026-08-14
This commit is contained in:
parent
324f207300
commit
0802dfb9fc
5 changed files with 35 additions and 0 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue