There was an error while loading. Please reload this page.
1 parent f871c5a commit 5cc65deCopy full SHA for 5cc65de
1 file changed
ui/src/components/qr_scanner.rs
@@ -6,15 +6,19 @@
6
#[cfg(target_arch = "wasm32")]
7
pub use self::wasm32::*;
8
9
-#[cfg(not(target_arch = "wasm32"))]
10
-pub use self::server::*;
11
-
12
#[cfg(feature = "dioxus-desktop")]
13
pub use self::desktop::*;
14
15
#[cfg(any(target_os = "android", target_os = "ios"))]
16
pub use self::mobile::*;
17
+#[cfg(all(
+ not(target_arch = "wasm32"),
+ not(feature = "dioxus-desktop"),
18
+ not(any(target_os = "android", target_os = "ios"))
19
+))]
20
+pub use self::server::*;
21
+
22
/// Contains the QR scanner implementation for the WebAssembly target.
23
24
mod wasm32 {
0 commit comments