mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-30 03:54:12 +01:00
Fix macOS menu and fallback URL
This commit is contained in:
1 parent
1b99c7e10f
commit
2bcd0e0bbe
2 files changed
+1
-2
No files matched your search
@@ -833,7 +833,6 @@ fn create_window(handle: &AppHandle<Wry>, url: Option<&str>) -> Window<Wry> {
|
|||||||
{
|
{
|
||||||
win_builder = win_builder
|
win_builder = win_builder
|
||||||
.menu(app_menu)
|
.menu(app_menu)
|
||||||
.decorations(false)
|
|
||||||
.hidden_title(true)
|
.hidden_title(true)
|
||||||
.title_bar_style(TitleBarStyle::Overlay);
|
.title_bar_style(TitleBarStyle::Overlay);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,5 +21,5 @@ export function fallbackRequestName(r: HttpRequest | null): string {
|
|||||||
// Nothing
|
// Nothing
|
||||||
}
|
}
|
||||||
|
|
||||||
return '';
|
return r.url;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user