mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 00:23:09 +02:00
Refactoring
This commit is contained in:
@@ -629,8 +629,7 @@ public class FragmentPop extends FragmentBase {
|
||||
ServiceSynchronize.eval(context, "POP3");
|
||||
|
||||
if (!synchronize) {
|
||||
NotificationManager nm =
|
||||
(NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
NotificationManager nm = Helper.getSystemService(context, NotificationManager.class);
|
||||
nm.cancel("receive:" + account.id, NotificationHelper.NOTIFICATION_TAGGED);
|
||||
nm.cancel("alert:" + account.id, NotificationHelper.NOTIFICATION_TAGGED);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user