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

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")){