aboutsummaryrefslogtreecommitdiffstats
path: root/lib/presentation/common_widget
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2024-01-23 15:51:45 -0500
committerScott Murray <scott.murray@konsulko.com>2024-01-23 16:40:09 -0500
commitcc99d4d772be6635639a0d398076a8890f4e6a42 (patch)
treedb3b41545c94337b43421bab00b829181fdbf57d /lib/presentation/common_widget
parentee592b5048543951f712c0abb997a6e97c036544 (diff)
Connect audio settings button
Rework to connect the audio settings button on the media pages to the appropriate settings page, and have the back button go back to the expected previous page. To enable this, the global AppState provider was reworked to track the previous page and add explicit update and back member functions. Bug-AGL: SPEC-5030 Change-Id: I5858d1b1bf511a184b6538b2ce8c183b00c24fc6 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'lib/presentation/common_widget')
-rw-r--r--lib/presentation/common_widget/custom_bottom_bar.dart2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/presentation/common_widget/custom_bottom_bar.dart b/lib/presentation/common_widget/custom_bottom_bar.dart
index 19c56b9..ee5168d 100644
--- a/lib/presentation/common_widget/custom_bottom_bar.dart
+++ b/lib/presentation/common_widget/custom_bottom_bar.dart
@@ -46,7 +46,7 @@ class CustomBottomBarState extends ConsumerState<CustomBottomBar> {
});
ref.read(appLauncherProvider).activateApp("homescreen");
ref.read(currentTimeProvider.notifier).isYearChanged = false;
- ref.read(appProvider.notifier).update((state) => state = status);
+ ref.read(appProvider.notifier).update(status);
}
@override