1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-23 14:41:08 +00:00

Small improvement

This commit is contained in:
M66B 2023-01-11 13:32:12 +01:00
parent aa1f4291a9
commit ee546fcd98

View file

@ -1345,7 +1345,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
private void onState(Intent intent) { private void onState(Intent intent) {
boolean fg = intent.getBooleanExtra("foreground", false); boolean fg = intent.getBooleanExtra("foreground", false);
foreground.setValue(fg); foreground.postValue(fg);
for (Core.State state : coreStates.values()) for (Core.State state : coreStates.values())
state.setForeground(fg); state.setForeground(fg);
} }