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

* fix(notification): update function dev to is_dev

* fix(notification): add changes markdown
pull/1314/head
Alexandre Villeneuve 1 year ago committed by GitHub
parent b665c9cbce
commit 5661cce795
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
"notification": patch
---
Fix development mode function name check to set the app ID on macOS.

@ -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

Loading…
Cancel
Save