mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 14:41:08 +00:00
Small improvement
This commit is contained in:
parent
aa1f4291a9
commit
ee546fcd98
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue