1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 09:47:13 +00:00

Fixed updating network options

This commit is contained in:
M66B 2020-10-29 13:57:42 +01:00
parent 74282f17dc
commit d1e9a13ad3

View file

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