1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-14 23:26:58 +02:00

Chore: Apply eslint rules

This commit is contained in:
Laurent Cozic
2019-09-19 22:51:18 +01:00
parent ab29d7e872
commit e648392330
185 changed files with 1196 additions and 1196 deletions

View File

@@ -55,7 +55,7 @@ class AlarmServiceDriver {
}
async clearNotification(id) {
PushNotificationIOS.cancelLocalNotifications({ id: id + '' });
PushNotificationIOS.cancelLocalNotifications({ id: `${id}` });
}
async scheduleNotification(notification) {
@@ -66,10 +66,10 @@ class AlarmServiceDriver {
// ID must be a string and userInfo must be supplied otherwise cancel won't work
const iosNotification = {
id: notification.id + '',
id: `${notification.id}`,
alertTitle: notification.title,
fireDate: notification.date,
userInfo: { id: notification.id + '' },
userInfo: { id: `${notification.id}` },
};
if ('body' in notification) iosNotification.alertBody = notification.body;