1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Added reload reasons

This commit is contained in:
M66B 2020-04-07 11:20:27 +02:00
parent 0dc8419952
commit 9ccff1b870

View file

@ -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);
}