Skip to content

Commit

Permalink
haptic bug (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrawlerXull authored Sep 24, 2023
1 parent 9039ece commit 54e3877
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/app/modules/settings/views/settings_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import 'package:ultimate_alarm_clock/app/modules/home/controllers/home_controlle
import 'package:ultimate_alarm_clock/app/modules/settings/views/enable_haptic_feedback.dart';
import 'package:ultimate_alarm_clock/app/modules/settings/views/enable_sorted_alarm_list.dart';
import 'package:ultimate_alarm_clock/app/modules/settings/views/weather_api.dart';
import 'package:ultimate_alarm_clock/app/utils/utils.dart';
import '../controllers/settings_controller.dart';
import 'google_sign_in.dart';

Expand All @@ -23,6 +24,13 @@ class SettingsView extends GetView<SettingsController> {
title: const Text('Settings'),
centerTitle: true,
elevation: 0.0,
leading: IconButton(
icon: Icon(Icons.arrow_back),
onPressed: () {
Utils.hapticFeedback();
Navigator.of(context).pop();
},
),
),
body: Center(
child: Padding(
Expand Down

0 comments on commit 54e3877

Please sign in to comment.