Skip to content

Commit

Permalink
Update src/home/rooms_list.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Boos <[email protected]>
  • Loading branch information
tyreseluo and kevinaboos authored Dec 30, 2024
1 parent b286326 commit e8fdd69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/home/rooms_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -629,9 +629,9 @@ impl WidgetMatchEvent for RoomsList {
for action in actions {
if let RoomsViewAction::Search(keywords) = action.as_widget_action().cast() {
let (filter, sort_fn) = RoomDisplayFilterBuilder::new()
.set_keywords(keywords)
.set_filter_types(RoomDisplayFilterType::All)
.build();
.set_keywords(keywords)
.set_filter_types(RoomDisplayFilterType::All)
.build();
self.display_filter = filter;

let displayed_rooms = if let Some(sort_fn) = sort_fn {
Expand Down

0 comments on commit e8fdd69

Please sign in to comment.