Bläddra i källkod

disable muda entirely on mobile

Jonathan Kelley 1 år sedan
förälder
incheckning
7a439edc6b
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      packages/desktop/Cargo.toml
  2. 1 1
      packages/desktop/src/menubar.rs

+ 1 - 1
packages/desktop/Cargo.toml

@@ -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"

+ 1 - 1
packages/desktop/src/menubar.rs

@@ -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")]