mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Refactoring
This commit is contained in:
@@ -623,9 +623,10 @@ public class FragmentPop extends FragmentBase {
|
||||
ServiceSynchronize.eval(context, "POP3");
|
||||
|
||||
if (!synchronize) {
|
||||
NotificationManager nm = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
nm.cancel("receive:" + account.id, 10);
|
||||
nm.cancel("alert:" + account.id, 10);
|
||||
NotificationManager nm =
|
||||
(NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
nm.cancel("receive:" + account.id, NotificationHelper.NOTIFICATION_TAGGED);
|
||||
nm.cancel("alert:" + account.id, NotificationHelper.NOTIFICATION_TAGGED);
|
||||
}
|
||||
|
||||
args.putBoolean("saved", true);
|
||||
|
||||
Reference in New Issue
Block a user