mirror of
https://github.com/wulkanowy/wulkanowy.git
synced 2025-01-19 00:16:48 -06:00
Fix only wifi setting (#394)
This commit is contained in:
parent
e1b0db76c2
commit
383cab4dae
@ -40,7 +40,7 @@ class PreferencesRepository @Inject constructor(
|
|||||||
|
|
||||||
val servicesOnlyWifiKey: String = context.getString(R.string.pref_key_services_wifi_only)
|
val servicesOnlyWifiKey: String = context.getString(R.string.pref_key_services_wifi_only)
|
||||||
val isServicesOnlyWifi: Boolean
|
val isServicesOnlyWifi: Boolean
|
||||||
get() = sharedPref.getBoolean(servicesOnlyWifiKey, true)
|
get() = sharedPref.getBoolean(servicesOnlyWifiKey, false)
|
||||||
|
|
||||||
val isNotificationsEnable: Boolean
|
val isNotificationsEnable: Boolean
|
||||||
get() = sharedPref.getBoolean(context.getString(R.string.pref_key_notifications_enable), true)
|
get() = sharedPref.getBoolean(context.getString(R.string.pref_key_notifications_enable), true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user