mirror of
https://github.com/imgurbot12/rmenu.git
synced 2024-11-10 11:33:48 +01:00
fix: hide menu for network gui
This commit is contained in:
parent
fd364ec43c
commit
eb89fbdb10
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user