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:
parent
74282f17dc
commit
d1e9a13ad3
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue