mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-30 14:12:07 +02:00
Fix macOS menu and fallback URL
This commit is contained in:
@@ -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