mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-17 22:46:48 +01: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
|
||||
.menu(app_menu)
|
||||
.decorations(false)
|
||||
.hidden_title(true)
|
||||
.title_bar_style(TitleBarStyle::Overlay);
|
||||
}
|
||||
|
||||
@@ -21,5 +21,5 @@ export function fallbackRequestName(r: HttpRequest | null): string {
|
||||
// Nothing
|
||||
}
|
||||
|
||||
return '';
|
||||
return r.url;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user