Remove unused property

This commit is contained in:
Maxr1998 authored and Max Rumpf committed 2022-11-26 00:47:03 +01:00
1 parent f611a11d94
commit 91733291a1
1 file changed
-9
@@ -30,15 +30,6 @@ class AppPreferences(context: Context) {
}
}
@Deprecated(message = "Deprecated in favor of SQLite database - only kept for migration reasons")
var instanceUrl: String?
get() = sharedPreferences.getString(Constants.PREF_INSTANCE_URL, null)
set(value) {
sharedPreferences.edit {
if (value != null) putString(Constants.PREF_INSTANCE_URL, value) else remove(Constants.PREF_INSTANCE_URL)
}
}
var ignoreBatteryOptimizations: Boolean
get() = sharedPreferences.getBoolean(Constants.PREF_IGNORE_BATTERY_OPTIMIZATIONS, false)
set(value) {