fix dismissing bailey

This commit is contained in:
Phillip Thelen 2023-05-25 16:31:15 +02:00
parent 010051655e
commit ba0ca4e4a7

View file

@ -181,6 +181,7 @@ open class NotificationsViewModel @Inject constructor(
fun dismissNotification(notification : Notification) {
if (isCustomNotification(notification)) {
if (isCustomNewStuffNotification(notification)) {
updateUser("flags.newStuff", false)
customNotifications.value =
customNotifications.value.filterNot { it.id == notification.id }
}