mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-31 01:51:24 +01:00
Simplified error handling
This commit is contained in:
@@ -1027,7 +1027,7 @@ public class FragmentAccount extends FragmentBase {
|
||||
|
||||
if (!synchronize) {
|
||||
NotificationManager nm = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
nm.cancel("receive", account.id.intValue());
|
||||
nm.cancel("receive:" + account.id, 1);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user