Remove advance preferences

This commit is contained in:
Rahul Patel
2023-10-12 21:38:24 +05:30
parent e296fcbd7b
commit 99e6508ccf
45 changed files with 4 additions and 175 deletions

View File

@@ -43,7 +43,6 @@ import com.aurora.store.MainActivity
import com.aurora.store.R
import com.aurora.store.util.Log
import com.aurora.store.util.Preferences
import com.aurora.store.util.Preferences.PREFERENCE_ADVANCED_USE_WEB_API
import kotlin.system.exitProcess
val Context.inflater: LayoutInflater
@@ -176,7 +175,3 @@ fun Context.accentColor(): Int {
}
return ContextCompat.getColor(this, color)
}
fun Context.shouldUseWebAPI(): Boolean {
return Preferences.getBoolean(this, PREFERENCE_ADVANCED_USE_WEB_API)
}