Fix issue causing multiple notifications to be dismissed at once (#540)

pull/559/head
Alinson S. Xavier 6 years ago
parent 997ebfc28a
commit f9437d61b0

@ -56,9 +56,6 @@ class AndroidNotificationTray
val manager = NotificationManagerCompat.from(context) val manager = NotificationManagerCompat.from(context)
manager.cancel(id) manager.cancel(id)
active.remove(id) active.remove(id)
// Clear the group summary notification
if (active.isEmpty()) manager.cancelAll()
} }
override fun showNotification(habit: Habit, override fun showNotification(habit: Habit,

Loading…
Cancel
Save