You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-30 23:44:55 +02:00
Added back support for alarms
This commit is contained in:
@ -33,11 +33,11 @@ export default class AlarmServiceDriverNode {
|
||||
return false;
|
||||
}
|
||||
|
||||
notificationIsSet(id:string) {
|
||||
notificationIsSet(id:number) {
|
||||
return id in this.notifications_;
|
||||
}
|
||||
|
||||
async clearNotification(id:string) {
|
||||
async clearNotification(id:number) {
|
||||
if (!this.notificationIsSet(id)) return;
|
||||
shim.clearTimeout(this.notifications_[id].timeoutId);
|
||||
delete this.notifications_[id];
|
||||
|
Reference in New Issue
Block a user