mirror of
https://github.com/jellyfin/jellyfin-android.git
synced 2026-10-26 16:45:26 +00:00
Remove unused property
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user