mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-29 12:06:01 +02:00
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:
committed by
GitHub
parent
b665c9cbce
commit
5661cce795
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user