Skip to content

Commit

Permalink
Merge pull request #1330 from minvws/4594
Browse files Browse the repository at this point in the history
4594
  • Loading branch information
BartNijland91 authored Jun 30, 2022
2 parents 4bf9a11 + 3c60580 commit 4e9d025
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,6 @@ class DashboardViewModelImpl(
val allGreenCards = greenCardUtil.getAllGreenCards()
val allEventGroupEntities = holderDatabase.eventGroupDao().getAll()

removeExpiredEventsUseCase.execute(
events = allEventGroupEntities
)

removeExpiredGreenCardsUseCase.execute(
allGreenCards = allGreenCards
)
Expand Down Expand Up @@ -140,6 +136,10 @@ class DashboardViewModelImpl(
isLoadingNewCredentials = false
)
}

removeExpiredEventsUseCase.execute(
events = allEventGroupEntities
)
}
}

Expand Down

0 comments on commit 4e9d025

Please sign in to comment.