main, add output to see if the alarm going off really does schedule the next alarm.
This commit is contained in:
1 parent
7eaa2dc3a4
commit
e163a2e290
1 file changed
+2
@@ -249,6 +249,8 @@ class _HomeScreenState extends State<HomeScreen> {
|
|||||||
alarmTime = alarmTime.add(const Duration(days: 1));
|
alarmTime = alarmTime.add(const Duration(days: 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_debug("_scheduleAlarm, alarmTime=" + alarmTime.toIso8601String());
|
||||||
|
|
||||||
if (Platform.isLinux) {
|
if (Platform.isLinux) {
|
||||||
// Linux: use a Timer (app must stay open)
|
// Linux: use a Timer (app must stay open)
|
||||||
_alarmTimer?.cancel();
|
_alarmTimer?.cancel();
|
||||||
|
|||||||
Reference in new issue
Block a user