mirror of
https://github.com/imgurbot12/rmenu.git
synced 2025-02-12 13:15:07 +01:00
fix: hide menu for network gui
This commit is contained in:
parent
fd364ec43c
commit
eb89fbdb10
1 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,9 @@ pub fn run(ssid: String, timeout: u32) {
|
|||
.with_focused(true)
|
||||
.with_decorations(false)
|
||||
.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 };
|
||||
LaunchBuilder::desktop()
|
||||
.with_cfg(config)
|
||||
|
|
Loading…
Reference in a new issue