Skip to content

Commit

Permalink
Clearup unnecessary changes and adding documentation comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tyreseluo committed Nov 1, 2024
1 parent a76b6c6 commit 41ba290
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/home/rooms_sidebar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ live_design! {
text_style: <TITLE_TEXT>{}
}
}

<View> {
flow: Down, spacing: 20
padding: {top: 20}
Expand Down
2 changes: 2 additions & 0 deletions src/shared/search_bar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ pub struct SearchBar {
}
#[derive(Clone, Debug, DefaultNone)]
pub enum SearchBarAction {
/// The user has entered a search query.
Search(String),
/// The user has cleared the search query or the search has been reset.
ResetSearch,
None
}
Expand Down

0 comments on commit 41ba290

Please sign in to comment.