feat: improve search and handle input in compose (#67)
* feat: support search by npub or nprofile * . * . * . * chore: prevent update local search with empty result * clean up * .
This commit is contained in:
@@ -257,6 +257,7 @@ impl RenderOnce for TitleBar {
|
||||
const HEIGHT: Pixels = px(34.);
|
||||
|
||||
let is_linux = cfg!(target_os = "linux");
|
||||
let is_macos = cfg!(target_os = "macos");
|
||||
|
||||
div().flex_shrink_0().child(
|
||||
self.base
|
||||
@@ -270,6 +271,9 @@ impl RenderOnce for TitleBar {
|
||||
.when(is_linux, |this| {
|
||||
this.on_double_click(|_, window, _| window.zoom_window())
|
||||
})
|
||||
.when(is_macos, |this| {
|
||||
this.on_double_click(|_, window, _| window.titlebar_double_click())
|
||||
})
|
||||
.child(
|
||||
h_flex()
|
||||
.id("bar")
|
||||
|
||||
Reference in New Issue
Block a user