On-demand scheduling with topbar button and keybinding

This commit is contained in:
goodwillcoding
2020-06-15 07:52:13 +00:00
committed by Romain
parent ddd553e31b
commit 80bf68c484
7 changed files with 267 additions and 1 deletions
+4
View File
@@ -26,6 +26,7 @@ const { log_debug } = Me.imports.utils;
const { TimerNightlight } = Me.imports.modules.TimerNightlight;
const { TimerLocation } = Me.imports.modules.TimerLocation;
const { TimerSchedule } = Me.imports.modules.TimerSchedule;
const { TimerOndemand } = Me.imports.modules.TimerOndemand;
/**
@@ -112,6 +113,9 @@ var Timer = class {
case 'schedule':
this._source = new TimerSchedule();
break;
case 'ondemand':
this._source = new TimerOndemand();
break;
}
}