refactored to include appearance settings keys

This commit is contained in:
Ida Delphine authored and Aayush Gupta committed 2026-10-07 16:59:43 +08:00
1 parent d45382ba9e
commit 32341bdd99
2 files changed
+2 -1

No files matched your search

@@ -36,4 +36,4 @@ object AppearancePreferences {
const val DEFAULT_LIST_VIEW_MODE = LIST_VIEW_AUTO
const val DEFAULT_HOLD_TO_APPEND = true
const val DEFAULT_MAIN_TABS_POSITION = false
}
}
@@ -9,6 +9,7 @@ import androidx.lifecycle.ViewModel
import com.russhwolf.settings.Settings
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import net.newpipe.app.preferences.AppearancePreferences
import org.koin.core.annotation.KoinViewModel