mirror of
https://github.com/null2264/yokai.git
synced 2025-07-17 14:26:54 +00:00
fix: Solve some errors
This commit is contained in:
parent
6d531fbb5c
commit
c043d845ad
3 changed files with 1 additions and 5 deletions
|
@ -21,8 +21,7 @@ kotlin {
|
||||||
api(libs.okhttp.brotli)
|
api(libs.okhttp.brotli)
|
||||||
api(libs.okio)
|
api(libs.okio)
|
||||||
|
|
||||||
api(androidx.core)
|
api(androidx.preference)
|
||||||
api(androidx.annotation)
|
|
||||||
api(libs.rxjava)
|
api(libs.rxjava)
|
||||||
api(project.dependencies.enforcedPlatform(kotlinx.coroutines.bom))
|
api(project.dependencies.enforcedPlatform(kotlinx.coroutines.bom))
|
||||||
api(kotlinx.coroutines.core)
|
api(kotlinx.coroutines.core)
|
||||||
|
|
|
@ -2,8 +2,6 @@ package eu.kanade.tachiyomi.core.preference
|
||||||
|
|
||||||
import android.content.SharedPreferences
|
import android.content.SharedPreferences
|
||||||
import android.content.SharedPreferences.Editor
|
import android.content.SharedPreferences.Editor
|
||||||
import android.os.Build
|
|
||||||
import androidx.annotation.RequiresApi
|
|
||||||
import androidx.core.content.edit
|
import androidx.core.content.edit
|
||||||
import co.touchlab.kermit.Logger
|
import co.touchlab.kermit.Logger
|
||||||
import kotlinx.coroutines.CoroutineScope
|
import kotlinx.coroutines.CoroutineScope
|
||||||
|
@ -154,7 +152,6 @@ sealed class AndroidPreference<T>(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequiresApi(Build.VERSION_CODES.HONEYCOMB)
|
|
||||||
class StringSetPrimitive(
|
class StringSetPrimitive(
|
||||||
preferences: SharedPreferences,
|
preferences: SharedPreferences,
|
||||||
keyFlow: Flow<String?>,
|
keyFlow: Flow<String?>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue