We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e78ee5 commit 98b12feCopy full SHA for 98b12fe
lib/app/modules/addOrUpdateAlarm/views/snooze_duration_tile.dart
@@ -51,9 +51,9 @@ class SnoozeDurationTile extends StatelessWidget {
51
Obx(
52
() => NumberPicker(
53
value: controller.snoozeDuration.value <= 0
54
- ? 1
+ ? 0
55
: controller.snoozeDuration.value,
56
- minValue: 1,
+ minValue: 0,
57
maxValue: 60,
58
onChanged: (value) {
59
Utils.hapticFeedback();
@@ -63,9 +63,11 @@ class SnoozeDurationTile extends StatelessWidget {
63
),
64
65
() => Text(
66
- controller.snoozeDuration.value > 1
+ controller.snoozeDuration.value > 0
67
+ ? controller.snoozeDuration.value > 1
68
? 'minutes'.tr
- : 'minute'.tr,
69
+ : 'minute'.tr
70
+ : 'Off'.tr,
71
72
73
],
0 commit comments