mirror of
https://github.com/syncthing/syncthing-android.git
synced 2025-01-07 10:42:07 +00:00
Default global pref PREF_RUN_ON_WIFI to true (#95)
in SyncConditionsActivity, according to definition in app_settings.xml
This commit is contained in:
parent
f6f90c9c2b
commit
b84d4da34f
1 changed files with 1 additions and 1 deletions
|
@ -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<String> globalWhitelistedSsid = mPreferences.getStringSet(Constants.PREF_WIFI_SSID_WHITELIST, new HashSet<>());
|
||||
|
|
Loading…
Reference in a new issue