mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
This commit is contained in:
parent
8d3669193f
commit
c6e0a2eb26
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ init(async (launch) => {
|
|||
/**
|
||||
* Init Notification
|
||||
*/
|
||||
if ('Notification' in window) {
|
||||
if ('Notification' in window && os.store.getters.isSignedIn) {
|
||||
// 許可を得ていなかったらリクエスト
|
||||
if ((Notification as any).permission == 'default') {
|
||||
await Notification.requestPermission();
|
||||
|
|
Loading…
Add table
Reference in a new issue