mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 03:06:37 +00:00
Add a Low Priority room filter behind a feature flag. (#4394)
* Add Low Priority room filter with incompatibility rules Co-authored-by: pixlwave <6060466+pixlwave@users.noreply.github.com> * Add a feature flag and use the SDK filters. * Fix filter tests and add RoomSummaryProvider tests for the default filters. * Remove unnecessary comment. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pixlwave <6060466+pixlwave@users.noreply.github.com> Co-authored-by: Doug <douglase@element.io>
This commit is contained in:
@@ -113,7 +113,7 @@ struct HomeScreenViewState: BindableState {
|
||||
return rooms
|
||||
}
|
||||
|
||||
var bindings = HomeScreenViewStateBindings()
|
||||
var bindings: HomeScreenViewStateBindings
|
||||
|
||||
var placeholderRooms: [HomeScreenRoom] {
|
||||
(1...10).map { _ in
|
||||
@@ -136,7 +136,7 @@ struct HomeScreenViewState: BindableState {
|
||||
}
|
||||
|
||||
struct HomeScreenViewStateBindings {
|
||||
var filtersState = RoomListFiltersState()
|
||||
var filtersState: RoomListFiltersState
|
||||
var searchQuery = ""
|
||||
var isSearchFieldFocused = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user