Skip to content

Commit

Permalink
Fixed cfg directive for web
Browse files Browse the repository at this point in the history
  • Loading branch information
albbus-stack committed May 28, 2024
1 parent 1442455 commit 03e1b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub fn new_store(identifier: &str) -> Store {
Store::new(Location::LocalStorage(identifier))
}

#[cfg(not(target_os = "android"))]
#[cfg(not(any(target_os = "android", target_arch = "wasm32")))]
fn get_desktop_path(identifier: &str) -> std::path::PathBuf {
let [qualifier, organization, application] = identifier.split('.').collect::<Vec<&str>>()[..3] else {
panic!("Invalid identifier");
Expand Down

0 comments on commit 03e1b0e

Please sign in to comment.