Fix dependent preferences screens

This commit is contained in:
Chumva 2019-10-28 16:00:47 +02:00
parent 47330b886a
commit 11e10634c1
3 changed files with 3 additions and 0 deletions

View file

@ -28,6 +28,7 @@ public class ProxySettingsFragment extends BaseSettingsFragment {
setupProxyHostPref();
setupProxyPortPref();
enableDisablePreferences(settings.ENABLE_PROXY.get());
}
@Override

View file

@ -38,6 +38,7 @@ public class ScreenAlertsFragment extends BaseSettingsFragment {
showTunnels.setIcon(getIcon(R.drawable.list_warnings_tunnel));
setupScreenAlertsImage();
enableDisablePreferences(settings.SHOW_ROUTING_ALARMS.get());
}
@Override

View file

@ -24,6 +24,7 @@ public class TurnScreenOnFragment extends BaseSettingsFragment {
setupTurnScreenOnTimePref();
setupTurnScreenOnSensorPref();
enableDisablePreferences(settings.TURN_SCREEN_ON_ENABLED.get());
}
@Override