Fix opening wrong topic on click
This commit is contained in:
parent
fa27fe9036
commit
3d1d062f4d
2 changed files with 2 additions and 1 deletions
|
@ -308,7 +308,7 @@ class NotificationService(val context: Context) {
|
|||
}
|
||||
return TaskStackBuilder.create(context).run {
|
||||
addNextIntentWithParentStack(intent) // Add the intent, which inflates the back stack
|
||||
getPendingIntent(0, PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE) // Get the PendingIntent containing the entire back stack
|
||||
getPendingIntent(Random().nextInt(), PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE) // Get the PendingIntent containing the entire back stack
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ Bug fixes + maintenance:
|
|||
* Fix notification icon color (#480, thanks to @s-h-a-r-d for reporting)
|
||||
* Fix topics do not re-subscribe to Firebase after restoring from backup (#511)
|
||||
* Fix crashes from large images (#474, thanks to @daedric7 for reporting)
|
||||
* Fix notification click opens wrong subscription (#261, thanks to @SMAW for reporting)
|
||||
* Add donate button (no ticket)
|
||||
|
||||
Additional translations:
|
||||
|
|
Loading…
Reference in a new issue