Show the empty room list state when filtering by a space that has no children.

This commit is contained in:
Stefan Ceriu
2026-02-09 14:19:02 +02:00
committed by Stefan Ceriu
parent 2dfda98913
commit e23685be70
2 changed files with 4 additions and 4 deletions
@@ -137,7 +137,9 @@ struct HomeScreenViewState: BindableState {
}
var shouldShowEmptyFilterState: Bool {
!bindings.isSearchFieldFocused && bindings.filtersState.isFiltering && visibleRooms.isEmpty
!bindings.isSearchFieldFocused &&
(bindings.filtersState.isFiltering || selectedSpaceFilter != nil) &&
visibleRooms.isEmpty
}
var shouldShowFilters: Bool {