Skip to content

Commit 93fd68f

Browse files
committed
fix
1 parent 8e639c7 commit 93fd68f

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

apps/desktop/src-tauri/src/general_settings.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -235,17 +235,6 @@ impl GeneralSettingsStore {
235235
store.set("general_settings", json!(self));
236236
store.save().map_err(|e| e.to_string())
237237
}
238-
239-
pub fn is_window_excluded(
240-
&self,
241-
bundle_identifier: Option<&str>,
242-
owner_name: Option<&str>,
243-
window_title: Option<&str>,
244-
) -> bool {
245-
self.excluded_windows
246-
.iter()
247-
.any(|entry| entry.matches(bundle_identifier, owner_name, window_title))
248-
}
249238
}
250239

251240
pub fn init(app: &AppHandle) {

apps/desktop/src-tauri/src/window_exclusion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub fn resolve_window_ids(exclusions: &[WindowExclusion]) -> Vec<WindowId> {
7878
let bundle_identifier = window.raw_handle().bundle_identifier();
7979

8080
#[cfg(not(target_os = "macos"))]
81-
let bundle_identifier = None;
81+
let bundle_identifier = None::<&str>;
8282

8383
exclusions
8484
.iter()

0 commit comments

Comments
 (0)