mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-03 07:36:31 +02:00
Fixed updating network options
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user