Skip to content

Commit

Permalink
Merge pull request #84 from WootingKb/fix/cleanup
Browse files Browse the repository at this point in the history
removed unused imports
  • Loading branch information
simon-wh authored Jan 18, 2023
2 parents 1d89d1b + 026aff0 commit a932712
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"targets": "all"
},
"security": {
"csp": "default-src 'self'"
"csp": null
},
"systemTray": {
"iconPath": "icon.png",
Expand Down
5 changes: 0 additions & 5 deletions wooting-macro-backend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ use halfbrown::HashMap;
use config::{ApplicationConfig, ConfigFile};
#[cfg(not(debug_assertions))]
use dirs;
use tauri::State;

// This has to be imported for release build
#[allow(unused_imports)]
Expand Down Expand Up @@ -596,10 +595,6 @@ impl Default for MacroBackend {
}
}

// /// Sets whether the macro listening processing is happening.
// pub fn set_macro_listening(state: State<MacroBackend>, frontend_bool: bool) {
// state.is_listening.store(frontend_bool, Ordering::Relaxed);
// }

#[cfg(test)]
mod tests {
Expand Down

0 comments on commit a932712

Please sign in to comment.