Removed Kotpref and replaced it with PreferenceModel

This commit is contained in:
Viktor De Pasquale
2019-06-03 16:35:36 +02:00
committed by John Wu
parent 28efded624
commit d1dfda405f
13 changed files with 268 additions and 27 deletions
@@ -10,7 +10,6 @@ import android.os.Build
import android.os.Bundle
import androidx.appcompat.app.AppCompatDelegate
import androidx.multidex.MultiDex
import com.chibatching.kotpref.Kotpref
import com.topjohnwu.magisk.di.koinModules
import com.topjohnwu.magisk.utils.LocaleManager
import com.topjohnwu.magisk.utils.RootUtils
@@ -29,12 +28,6 @@ open class App : Application(), Application.ActivityLifecycleCallbacks {
@Volatile
private var foreground: Activity? = null
override fun onCreate() {
super.onCreate()
Kotpref.init(this)
}
override fun attachBaseContext(base: Context) {
super.attachBaseContext(base)
if (BuildConfig.DEBUG)