On-demand scheduling with topbar button and keybinding
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user