Skip to content

Commit

Permalink
fix: app identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Oct 26, 2024
1 parent 4cf1885 commit 186dc21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-tauri/src/util/notifications.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ fn send_notification_internal(app: &tauri::AppHandle, title: String, body: Strin
}

#[cfg(target_os = "windows")]
fn send_notification_internal(_app: &tauri::AppHandle, title: String, body: String, icon: String) {
fn send_notification_internal(app: &tauri::AppHandle, title: String, body: String, icon: String) {
use std::path::Path;
use tauri_winrt_notification::{IconCrop, Toast};

Toast::new(Toast::POWERSHELL_APP_ID)
Toast::new(&app.config().identifier)
.icon(Path::new(&icon), IconCrop::Circular, "")
.title(title.as_str())
.text2(body.as_str())
Expand Down

0 comments on commit 186dc21

Please sign in to comment.