Use different request codes for showNumberPicker pendingIntent

Fixes #1468
pull/1488/head
Alinson S. Xavier 3 years ago
parent fcbb586e80
commit 13af054214

@ -159,7 +159,7 @@ class PendingIntentFactory
fun showNumberPicker(habit: Habit, timestamp: Timestamp): PendingIntent? {
return getActivity(
context,
0,
(habit.id!! % Integer.MAX_VALUE).toInt() + 1,
Intent(context, ListHabitsActivity::class.java).apply {
action = ListHabitsActivity.ACTION_EDIT
putExtra("habit", habit.id)

Loading…
Cancel
Save