fix(notification): update function dev to is_dev (#1385)

* fix(notification): update function dev to is_dev

* fix(notification): add changes markdown
This commit is contained in:
Alexandre Villeneuve
2024-05-29 14:37:09 -04:00
committed by GitHub
parent b665c9cbce
commit 5661cce795
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"notification": patch
---
Fix development mode function name check to set the app ID on macOS.
+1 -1
View File
@@ -186,7 +186,7 @@ mod imp {
}
#[cfg(target_os = "macos")]
{
let _ = crate::notify_rust::set_application(if tauri::dev() {
let _ = crate::notify_rust::set_application(if tauri::is_dev() {
"com.apple.Terminal"
} else {
&self.identifier