1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-01-10 20:15:54 +00:00

Disable "sync on SSIDs" setting if "only sync on wifi" is disabled

This commit is contained in:
Felix Ableitner 2016-10-31 18:31:41 +09:00
parent 8b778bdcb4
commit 9201509d14

View file

@ -120,6 +120,7 @@ public class SettingsFragment extends PreferenceFragment
mSyncthingVersion = findPreference("syncthing_version");
Preference appVersion = screen.findPreference("app_version");
mSyncOnlyOnSSIDs.setEnabled(mSyncOnlyWifi.isChecked());
setPreferenceCategoryChangeListener(findPreference("category_run_conditions"), this);
setPreferenceCategoryChangeListener(