fix(notifications/action): remove notification after tapping action

This commit is contained in:
FineFindus 2023-02-27 21:15:28 +01:00
parent 2dc6deb93a
commit 1c38570609
No known key found for this signature in database
GPG Key ID: 64873EE210FF8E6B
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ public class PushNotificationReceiver extends BroadcastReceiver{
if ( notificationId >= 0) { if ( notificationId >= 0) {
NotificationManager notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); NotificationManager notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
notificationManager.cancel(notificationId); notificationManager.cancel(accountID, notificationId);
} }
if(intent.hasExtra("notification")){ if(intent.hasExtra("notification")){