Skip to content

Commit

Permalink
changed snack bar color for preview
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkisDev committed Sep 24, 2023
1 parent 54e3877 commit a6529ab
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions lib/app/modules/alarmRing/views/alarm_ring_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -131,23 +131,20 @@ class AlarmControlView extends GetView<AlarmControlController> {
fontWeight: FontWeight.w600),
),
onPressed: () {
Utils.hapticFeedback();
Utils.hapticFeedback();
controller.startSnooze();
},
),
),




),
)
],
),
)),
),
onWillPop: () async {
Get.snackbar("Note", "You can't go back while the alarm is ringing");
Get.snackbar("Note", "You can't go back while the alarm is ringing",
backgroundColor: Colors.red, colorText: Colors.white);
return false;
});
}
Expand Down

0 comments on commit a6529ab

Please sign in to comment.