mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
* fix(tauri) notification body optional, title required * fix(tauri) regression on requestPermission()
This commit is contained in:
committed by
GitHub
parent
0591f1f945
commit
dac1db3983
@@ -220,7 +220,7 @@ switch (navigator.platform) {
|
||||
return window.__TAURI__.promisified({
|
||||
cmd: 'notification',
|
||||
options: typeof options === 'string' ? {
|
||||
body: options
|
||||
title: options
|
||||
} : options
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user