Fixed updating network options

This commit is contained in:
M66B 2020-10-29 13:57:42 +01:00
parent 74282f17dc
commit d1e9a13ad3
1 changed files with 2 additions and 0 deletions

View File

@ -641,6 +641,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
command.putString("name", "eval");
liveAccountNetworkState.post(command);
} else if (PREF_RELOAD.contains(key) || ConnectionHelper.PREF_NETWORK.contains(key)) {
if (ConnectionHelper.PREF_NETWORK.contains(key))
updateNetworkState(ConnectionHelper.getActiveNetwork(this), "preference");
Bundle command = new Bundle();
command.putString("pref", key);
command.putString("name", "reload");