Skip to content

Commit

Permalink
fix: unused import warning in mac and win
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Jan 7, 2024
1 parent a9b54aa commit 84cbbf1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ all(not(debug_assertions), target_os = "windows"),
windows_subsystem = "windows"
)]

#[cfg(target_os = "linux")]
use tauri::Manager; // needed for the f10 key fix for now in linux only

#[cfg(target_os = "linux")]
use std::fs::metadata;
#[cfg(target_os = "linux")]
Expand All @@ -18,7 +21,6 @@ extern crate webkit2gtk;
#[macro_use]
extern crate objc;

use tauri::Manager;
use regex::Regex;
extern crate percent_encoding;
use tauri::http::ResponseBuilder;
Expand Down

0 comments on commit 84cbbf1

Please sign in to comment.