mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-19 12:18:59 +00:00
fix dismissing bailey
This commit is contained in:
parent
010051655e
commit
ba0ca4e4a7
1 changed files with 1 additions and 0 deletions
|
|
@ -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 }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue