2
0
Fork 0
mirror of https://github.com/DioxusLabs/dioxus synced 2025-03-03 06:47:31 +00:00

disable muda entirely on mobile

This commit is contained in:
Jonathan Kelley 2024-01-05 23:46:16 -08:00
parent ce088acb0c
commit 7a439edc6b
No known key found for this signature in database
GPG key ID: 1FBB50F7EB0A08BE
2 changed files with 2 additions and 2 deletions
packages/desktop

View file

@ -49,7 +49,6 @@ urlencoding = "2.1.2"
async-trait = "0.1.68"
crossbeam-channel = "0.5.8"
tao = { version = "0.24.0", features = ["rwh_05"] }
muda = "0.11.3"
[target.'cfg(any(target_os = "windows",target_os = "macos",target_os = "linux",target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies]
# This is only for debug mode, and it appears mobile does not support some packages this uses
@ -59,6 +58,7 @@ manganis-cli-support = { git = "https://github.com/DioxusLabs/collect-assets", o
] }
rfd = "0.12"
global-hotkey = "0.4.1"
muda = "0.11.3"
[target.'cfg(target_os = "ios")'.dependencies]
objc = "0.2.7"

View file

@ -16,7 +16,7 @@ pub fn build_menu_bar(menu: Menu, window: &Window) {
{
use tao::platform::unix::WindowExtUnix;
menu.init_for_gtk_window(window, None);
// menu.init_for_gtk_window(window, Some(&vertical_gtk_box));
// menu.init_for_gtk_window(window, Some(&ertical_gtk_box));
}
#[cfg(target_os = "macos")]