mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 05:15:13 +02:00
Small improvement
This commit is contained in:
@@ -1345,7 +1345,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||
|
||||
private void onState(Intent intent) {
|
||||
boolean fg = intent.getBooleanExtra("foreground", false);
|
||||
foreground.setValue(fg);
|
||||
foreground.postValue(fg);
|
||||
for (Core.State state : coreStates.values())
|
||||
state.setForeground(fg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user