Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Dec 30, 2023
1 parent 5a478ab commit 86c70ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/desktop/src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ struct Storage {

#[cfg(target_os = "macos")]
fn apply_macos_specifics(app: &mut App, window: &Window) {
window.set_visisble_on_all_workspaces(true);
window.set_transparent_titlebar(true, true);
app.set_activation_policy(ActivationPolicy::Accessory);
}
Expand All @@ -64,9 +65,6 @@ fn main() {
// NOTE: this might be a bug?
window.set_decorations(false);

// allow on all workspaces
window.set_visisble_on_all_workspaces(true);

// add mac things
#[cfg(target_os = "macos")]
apply_macos_specifics(app, &window);
Expand Down

0 comments on commit 86c70ce

Please sign in to comment.