Skip to content

Commit

Permalink
Disable clipboard feature on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
paulotten committed Aug 9, 2022
1 parent 7ba710e commit 68cdf23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion eframe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,15 @@ wgpu = { version = "0.13", optional = true }
# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
dark-light = { version = "0.2.1", optional = true }
egui-winit = { version = "0.18.0", path = "../egui-winit", default-features = false, features = ["clipboard", "links"] }
glutin = { version = "0.28.0" }
winit = "0.26.1"

# arboard doesn't provide clipboard support on Android
[target.'cfg(not(any(target_arch = "wasm32", target_os= "android")))'.dependencies]
egui-winit = { version = "0.18.0", path = "../egui-winit", default-features = false, features = ["clipboard", "links"] }
[target.'cfg(target_os= "android")'.dependencies]
egui-winit = { version = "0.18.0", path = "../egui-winit", default-features = false, features = ["links"] }

# optional native:
puffin = { version = "0.13", optional = true }
directories-next = { version = "2", optional = true }
Expand Down

0 comments on commit 68cdf23

Please sign in to comment.