fix: hide menu for network gui

This commit is contained in:
imgurbot12 2024-07-10 11:38:21 -07:00
parent fd364ec43c
commit eb89fbdb10

View File

@ -25,7 +25,9 @@ pub fn run(ssid: String, timeout: u32) {
.with_focused(true) .with_focused(true)
.with_decorations(false) .with_decorations(false)
.with_always_on_top(true); .with_always_on_top(true);
let config = dioxus_desktop::Config::new().with_window(window); let config = dioxus_desktop::Config::new()
.with_menu(None)
.with_window(window);
let context = Context { ssid, timeout }; let context = Context { ssid, timeout };
LaunchBuilder::desktop() LaunchBuilder::desktop()
.with_cfg(config) .with_cfg(config)