refactor: Migrate to upstream's preference abstraction

This commit is contained in:
ziro 2024-01-10 16:42:18 +07:00
parent 9a2815d277
commit af87ccf8f1
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
61 changed files with 388 additions and 432 deletions

View file

@ -82,6 +82,8 @@ android {
buildFeatures {
viewBinding = true
compose = true
// If you're here because there's not BuildConfig, build the app first, it'll generate it for you
buildConfig = true
// Disable some unused things
aidl = false
@ -108,7 +110,7 @@ android {
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.3"
kotlinCompilerExtensionVersion = compose.versions.compose.get()
}
compileOptions {
@ -179,9 +181,6 @@ dependencies {
implementation(libs.rxjava)
implementation(libs.rxrelay)
// Coroutines
implementation(libs.flow.preferences)
// Network client
implementation(libs.okhttp)
implementation(libs.okhttp.logging.interceptor)