disable muda entirely on mobile
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -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"
|
||||
|
||||
@@ -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")]
|
||||
|
||||
Reference in new issue
Block a user