|
@@ -156,8 +156,12 @@ class NotificationWork constructor(
|
|
}
|
|
}
|
|
intent.putExtra(KEY_NOTIFICATION_ACCOUNT, user.accountName)
|
|
intent.putExtra(KEY_NOTIFICATION_ACCOUNT, user.accountName)
|
|
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)
|
|
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)
|
|
- pendingIntent = PendingIntent.getActivity(context, notification.getNotificationId(), intent,
|
|
|
|
- PendingIntent.FLAG_ONE_SHOT)
|
|
|
|
|
|
+ pendingIntent = PendingIntent.getActivity(
|
|
|
|
+ context,
|
|
|
|
+ notification.getNotificationId(),
|
|
|
|
+ intent,
|
|
|
|
+ PendingIntent.FLAG_ONE_SHOT
|
|
|
|
+ )
|
|
}
|
|
}
|
|
|
|
|
|
val pushNotificationId = randomId.nextInt()
|
|
val pushNotificationId = randomId.nextInt()
|