Skip to content

Commit

Permalink
fix: navigation (#342)
Browse files Browse the repository at this point in the history
Co-authored-by: Sagar Raj <[email protected]>
  • Loading branch information
sagarrajgit and Sagar Raj authored Jan 15, 2024
1 parent 9fd6bbe commit 0defb61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/app/modules/home/views/home_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ class HomeView extends GetView<HomeController> {
onTap: () {
Utils.hapticFeedback();
Get.back();
Get.offNamed('/settings');
Get.toNamed('/settings');
},
contentPadding: const EdgeInsets.only(left: 20, right: 44),
title: Text(
Expand Down
2 changes: 1 addition & 1 deletion lib/app/modules/settings/views/settings_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class SettingsView extends GetView<SettingsController> {
),
onPressed: () {
Utils.hapticFeedback();
Get.offNamed(Routes.BOTTOM_NAVIGATION_BAR);
Get.back();
},
),
),
Expand Down

0 comments on commit 0defb61

Please sign in to comment.