Skip to content

Commit

Permalink
Make notification id optional fixes #703 (#709)
Browse files Browse the repository at this point in the history
Makes the id optional when posting a local notification.
  • Loading branch information
antontanderup authored Dec 27, 2020
1 parent fb09456 commit 509d349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/Notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class NotificationsRoot {
/**
* postLocalNotification
*/
public postLocalNotification(notification: Notification, id: number) {
public postLocalNotification(notification: Notification, id?: number) {
return this.commands.postLocalNotification(notification, id);
}

Expand Down

0 comments on commit 509d349

Please sign in to comment.