mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Show the empty room list state when filtering by a space that has no children.
This commit is contained in:
committed by
Stefan Ceriu
parent
2dfda98913
commit
e23685be70
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user