forked from FoundKeyGang/FoundKey
service worker: remove dead code
This commit is contained in:
parent
80af8a143e
commit
56033c26f0
1 changed files with 0 additions and 8 deletions
|
@ -30,14 +30,6 @@ async function composeNotification<K extends keyof pushNotificationDataMap>(data
|
|||
const i18n = await swLang.i18n as I18n<any>;
|
||||
const { t } = i18n;
|
||||
switch (data.type) {
|
||||
/*
|
||||
case 'driveFileCreated': // TODO (Server Side)
|
||||
return [t('_notification.fileUploaded'), {
|
||||
body: body.name,
|
||||
icon: body.url,
|
||||
data
|
||||
}];
|
||||
*/
|
||||
case 'notification':
|
||||
switch (data.body.type) {
|
||||
case 'follow':
|
||||
|
|
Loading…
Reference in a new issue