Fix only wifi setting (#394)

This commit is contained in:
Rafał Borcz 2019-05-31 13:46:54 +02:00 committed by Mikołaj Pich
parent e1b0db76c2
commit 383cab4dae

View File

@ -40,7 +40,7 @@ class PreferencesRepository @Inject constructor(
val servicesOnlyWifiKey: String = context.getString(R.string.pref_key_services_wifi_only)
val isServicesOnlyWifi: Boolean
get() = sharedPref.getBoolean(servicesOnlyWifiKey, true)
get() = sharedPref.getBoolean(servicesOnlyWifiKey, false)
val isNotificationsEnable: Boolean
get() = sharedPref.getBoolean(context.getString(R.string.pref_key_notifications_enable), true)