1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Desktop: Fixes #1829: Fixed alarms that would trigger immediately when they were set too far in future

This commit is contained in:
Laurent Cozic
2019-10-02 18:21:42 +00:00
parent 4ce35ee1ed
commit eca0ab0ef6
4 changed files with 71 additions and 15 deletions

View File

@ -4,6 +4,8 @@ const Alarm = require('lib/models/Alarm.js');
class AlarmService {
static setDriver(v) {
this.driver_ = v;
if (this.driver_.setService) this.driver_.setService(this);
}
static driver() {