From cbf0279c426294cdbdc042966d4c4bd131196805 Mon Sep 17 00:00:00 2001 From: zontreck Date: Sat, 15 Jun 2024 22:48:48 -0700 Subject: [PATCH] Change some alerts to be intrusive --- lib/statemachine.dart | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/statemachine.dart b/lib/statemachine.dart index a63b03a..2f4ec52 100644 --- a/lib/statemachine.dart +++ b/lib/statemachine.dart @@ -25,8 +25,7 @@ enum States { enum WarnType { Intrusive, NonIntrusive } enum WarnIntervals { - FIVE_SECONDS( - seconds: 5, type: WarnType.NonIntrusive, warning: "Tiiiiiimber!"), + FIVE_SECONDS(seconds: 5, type: WarnType.Intrusive, warning: "Tiiiiiimber!"), TEN_SECONDS( seconds: 10, type: WarnType.Intrusive, @@ -49,11 +48,11 @@ enum WarnIntervals { warning: "The server will restart in 5 minutes"), TEN_MIN( seconds: (10 * 60), - type: WarnType.NonIntrusive, + type: WarnType.Intrusive, warning: "The server will restart in 10 minutes"), ONE_HOUR( seconds: (1 * 60 * 60), - type: WarnType.NonIntrusive, + type: WarnType.Intrusive, warning: "The server will restart in 1 hour"), TWO_HOURS( seconds: (2 * 60 * 60),