Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hugefiver committed Aug 16, 2023
1 parent 56958ce commit d994bdb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use serde::{Deserialize, Serialize};
mod cert;
use cert::*;
use tauri::Manager;
use window_vibrancy::NSVisualEffectMaterial;

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
Expand Down Expand Up @@ -328,7 +327,7 @@ fn main() {

#[cfg(all(target_os = "macos"))]
{
use window_vibrancy::apply_vibrancy;
use window_vibrancy::{apply_vibrancy, NSVisualEffectMaterial};
apply_vibrancy(&main, NSVisualEffectMaterial::HudWindow, None, None)
.expect("Unsupported platform! 'apply_vibrancy' is only supported on macOS");
}
Expand Down

0 comments on commit d994bdb

Please sign in to comment.