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

This commit is contained in:
FineFindus
2023-02-27 21:15:28 +01:00
parent d05c90ca7f
commit be7a7acadd

View File

@@ -105,7 +105,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")){