From 7dc766e12a2c0ce835dbf4d9f6f6ea9257421e20 Mon Sep 17 00:00:00 2001 From: lighting9999 Date: Mon, 24 Aug 2026 21:12:19 +0800 Subject: [PATCH] Change action type to KeepOnTop for notifications --- lib/timer/logic/timer_notification.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/timer/logic/timer_notification.dart b/lib/timer/logic/timer_notification.dart index 3f29db52..3f9fdd55 100644 --- a/lib/timer/logic/timer_notification.dart +++ b/lib/timer/logic/timer_notification.dart @@ -12,21 +12,21 @@ Future updateTimerNotification(ClockTimer timer, int count) async { showInCompactView: true, key: "timer_toggle_state", label: timer.isRunning ? 'Pause' : 'Start', - actionType: ActionType.SilentAction, + actionType: ActionType.KeepOnTop, autoDismissible: false, ), NotificationActionButton( showInCompactView: true, key: "timer_add", label: '+${timer.addLength.floor()}:00', - actionType: ActionType.SilentAction, + actionType: ActionType.KeepOnTop, autoDismissible: false, ), NotificationActionButton( showInCompactView: true, key: "timer_reset", label: 'Reset', - actionType: ActionType.SilentAction, + actionType: ActionType.KeepOnTop, autoDismissible: false, ), ]);