Skip to content

Commit 5661cce

Browse files
authored
fix(notification): update function dev to is_dev (#1385)
* fix(notification): update function dev to is_dev * fix(notification): add changes markdown
1 parent b665c9c commit 5661cce

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"notification": patch
3+
---
4+
5+
Fix development mode function name check to set the app ID on macOS.

plugins/notification/src/desktop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ mod imp {
186186
}
187187
#[cfg(target_os = "macos")]
188188
{
189-
let _ = crate::notify_rust::set_application(if tauri::dev() {
189+
let _ = crate::notify_rust::set_application(if tauri::is_dev() {
190190
"com.apple.Terminal"
191191
} else {
192192
&self.identifier

0 commit comments

Comments
 (0)