mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 16:16:33 +02:00
Added reload reasons
This commit is contained in:
@@ -565,10 +565,12 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
public void onSharedPreferenceChanged(SharedPreferences prefs, String key) {
|
||||
if (PREF_EVAL.contains(key)) {
|
||||
Bundle command = new Bundle();
|
||||
command.putString("pref", key);
|
||||
command.putString("name", "eval");
|
||||
liveAccountNetworkState.post(command);
|
||||
} else if (PREF_RELOAD.contains(key)) {
|
||||
Bundle command = new Bundle();
|
||||
command.putString("pref", key);
|
||||
command.putString("name", "reload");
|
||||
liveAccountNetworkState.post(command);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user