From b84d4da34faaf1db384e9c3a8ba8f8ab8843492c Mon Sep 17 00:00:00 2001 From: Catfriend1 Date: Mon, 15 Oct 2018 01:13:14 +0200 Subject: [PATCH] Default global pref PREF_RUN_ON_WIFI to true (#95) in SyncConditionsActivity, according to definition in app_settings.xml --- .../syncthingandroid/activities/SyncConditionsActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/nutomic/syncthingandroid/activities/SyncConditionsActivity.java b/app/src/main/java/com/nutomic/syncthingandroid/activities/SyncConditionsActivity.java index 8a77f1a4..8c11f9b5 100644 --- a/app/src/main/java/com/nutomic/syncthingandroid/activities/SyncConditionsActivity.java +++ b/app/src/main/java/com/nutomic/syncthingandroid/activities/SyncConditionsActivity.java @@ -116,7 +116,7 @@ public class SyncConditionsActivity extends SyncthingActivity /** * Load global run conditions. */ - Boolean globalRunOnWifiEnabled = mPreferences.getBoolean(Constants.PREF_RUN_ON_WIFI, false); + Boolean globalRunOnWifiEnabled = mPreferences.getBoolean(Constants.PREF_RUN_ON_WIFI, true); Boolean globalWhitelistEnabled = !mPreferences.getStringSet(Constants.PREF_WIFI_SSID_WHITELIST, new HashSet<>()) .isEmpty(); Set globalWhitelistedSsid = mPreferences.getStringSet(Constants.PREF_WIFI_SSID_WHITELIST, new HashSet<>());