Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
molvqingtai committed Oct 16, 2024
2 parents e12f5e3 + 3cfc16c commit 544f58e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/domain/impls/Notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ import { EVENT } from '@/constants/event'
import { messenger } from '@/messenger'

class Notification {
messages: TextMessage[] = []
async push(message: TextMessage) {
await messenger.sendMessage(EVENT.NOTIFICATION_PUSH, message)
this.messages.push(message)
return message.id
}
}
Expand Down
2 changes: 1 addition & 1 deletion wxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default defineConfig({
manifest: ({ browser }) => {
const common = {
name: displayName,
permissions: ['storage', 'notifications'],
permissions: ['storage', 'notifications', 'tabs'],
homepage_url: homepage,
icons: {
'16': 'logo.png',
Expand Down

0 comments on commit 544f58e

Please sign in to comment.