mirror of
https://github.com/PhilKes/NotallyX.git
synced 2025-06-28 12:19:55 +00:00
Merge pull request #587 from PhilKes/fix/reminder-identifier-requestcode
Use note.id and reminder.id for reminder requestCode
This commit is contained in:
commit
c64a7b2ed7
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)
|
||||
return PendingIntent.getBroadcast(
|
||||
this,
|
||||
0,
|
||||
(noteId.toString() + reminderId.toString()).toInt(),
|
||||
intent,
|
||||
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_MUTABLE,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue