mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 13:24:52 +02:00
Run start service on foreground
This commit is contained in:
@@ -229,7 +229,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||
prefs.edit().putBoolean("background_service", checked).apply();
|
||||
ServiceSynchronize.eval(getContext(), "background=" + checked);
|
||||
ServiceSynchronize.eval(compoundButton.getContext(), "background=" + checked);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user