Fix hidden items cut-off at 100 items
This commit is contained in:
parent
f56890db6b
commit
d4b5f54a3e
@ -76,6 +76,7 @@ class SearchVM : ViewModel(), KoinComponent {
|
||||
private val hiddenItemKeys = searchableRepository
|
||||
.getKeys(
|
||||
hidden = true,
|
||||
limit = 9999,
|
||||
)
|
||||
.shareIn(viewModelScope, SharingStarted.Eagerly, replay = 1)
|
||||
|
||||
|
||||
@ -171,6 +171,7 @@ class CalendarWidgetVM : ViewModel(), KoinComponent {
|
||||
searchableRepository.getKeys(
|
||||
includeTypes = listOf(CalendarEvent.Domain),
|
||||
hidden = true,
|
||||
limit = 9999,
|
||||
).collectLatest { hidden ->
|
||||
upcomingEvents = events.filter { !hidden.contains(it.key) }
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user