refactored to include appearance settings keys

This commit is contained in:
Ida Delphine
2026-10-07 16:59:43 +08:00
committed by Aayush Gupta
parent d45382ba9e
commit 32341bdd99
2 changed files with 2 additions and 1 deletions
@@ -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