diff options
author | vantezzen <properly@protonmail.com> | 2019-09-08 10:45:48 +0200 |
---|---|---|
committer | vantezzen <properly@protonmail.com> | 2019-09-08 10:45:48 +0200 |
commit | 0fc163284024549def8990506cdead1870c15526 (patch) | |
tree | 5142639b0b15d11621e271d3921680c9fffeb3da /src/stores/ServicesStore.js | |
parent | Implement meetfranz/franz#879 (diff) | |
download | ferdium-app-0fc163284024549def8990506cdead1870c15526.tar.gz ferdium-app-0fc163284024549def8990506cdead1870c15526.tar.zst ferdium-app-0fc163284024549def8990506cdead1870c15526.zip |
Lint
Diffstat (limited to 'src/stores/ServicesStore.js')
-rw-r--r-- | src/stores/ServicesStore.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index 3ee799b69..1debf69f6 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js | |||
@@ -399,7 +399,7 @@ export default class ServicesStore extends Store { | |||
399 | } | 399 | } |
400 | 400 | ||
401 | if (service.isNotificationEnabled) { | 401 | if (service.isNotificationEnabled) { |
402 | let title = 'Notification from ' + service.name; | 402 | let title = `Notification from ${service.name}`; |
403 | if (!this.stores.settings.all.app.privateNotifications) { | 403 | if (!this.stores.settings.all.app.privateNotifications) { |
404 | options.body = typeof options.body === 'string' ? options.body : ''; | 404 | options.body = typeof options.body === 'string' ? options.body : ''; |
405 | title = typeof args[0].title === 'string' ? args[0].title : service.name; | 405 | title = typeof args[0].title === 'string' ? args[0].title : service.name; |
@@ -409,7 +409,7 @@ export default class ServicesStore extends Store { | |||
409 | options.icon = '/assets/img/notification-badge.gif'; | 409 | options.icon = '/assets/img/notification-badge.gif'; |
410 | } | 410 | } |
411 | 411 | ||
412 | console.log(title, options) | 412 | console.log(title, options); |
413 | 413 | ||
414 | this.actions.app.notify({ | 414 | this.actions.app.notify({ |
415 | notificationId: args[0].notificationId, | 415 | notificationId: args[0].notificationId, |