search: improve search column header
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
1 parent
f7c1a39bc1
commit
d19e4b1d2b
4 files changed
+11
-5
No files matched your search
@@ -588,7 +588,9 @@ impl TimelineKind {
|
||||
|
||||
pub fn to_title(&self) -> ColumnTitle<'_> {
|
||||
match self {
|
||||
TimelineKind::Search(_query) => ColumnTitle::simple("Search"),
|
||||
TimelineKind::Search(query) => {
|
||||
ColumnTitle::formatted(format!("Search \"{}\"", query.search))
|
||||
}
|
||||
TimelineKind::List(list_kind) => match list_kind {
|
||||
ListKind::Contact(_pubkey_source) => ColumnTitle::simple("Contacts"),
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user