mirror of
https://github.com/PhilKes/NotallyX.git
synced 2025-06-28 12:19:55 +00:00
Use note.id and reminder.id for reminder requestCode
This commit is contained in:
parent
23d678c8a3
commit
fb687856f1
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ private fun Context.createReminderAlarmIntent(noteId: Long, reminderId: Long): P
|
||||||
intent.putExtra(ReminderReceiver.EXTRA_NOTE_ID, noteId)
|
intent.putExtra(ReminderReceiver.EXTRA_NOTE_ID, noteId)
|
||||||
return PendingIntent.getBroadcast(
|
return PendingIntent.getBroadcast(
|
||||||
this,
|
this,
|
||||||
0,
|
(noteId.toString() + reminderId.toString()).toInt(),
|
||||||
intent,
|
intent,
|
||||||
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_MUTABLE,
|
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_MUTABLE,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue