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:
parent
0dc8419952
commit
9ccff1b870
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue