From c2af76af610ef59b3783530b0621a540f75b81a2 Mon Sep 17 00:00:00 2001 From: nxoim Date: Fri, 20 Sep 2024 17:42:28 +0200 Subject: [PATCH] fix --- .../songsync/data/remote/UserSettingsController.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/pl/lambada/songsync/data/remote/UserSettingsController.kt b/app/src/main/java/pl/lambada/songsync/data/remote/UserSettingsController.kt index f6c3d77..1e49776 100644 --- a/app/src/main/java/pl/lambada/songsync/data/remote/UserSettingsController.kt +++ b/app/src/main/java/pl/lambada/songsync/data/remote/UserSettingsController.kt @@ -25,14 +25,14 @@ class UserSettingsController(private val dataStore: DataStore) { dataStore.get(blacklistedFoldersKey, "").split(",") ) private set - var hideLyrics by mutableStateOf(false) + + var hideLyrics by mutableStateOf(dataStore.get(hideLyricsKey, false)) private set - var includeTranslation by mutableStateOf( - dataStore.get(includeTranslationKey, false) - ) + var includeTranslation by mutableStateOf(dataStore.get(includeTranslationKey, false)) + private set - var pureBlack by mutableStateOf(false) + var pureBlack by mutableStateOf(dataStore.get(pureBlackKey, false)) private set var disableMarquee by mutableStateOf(dataStore.get(disableMarqueeKey, false))