diff options
author | Scott Murray <scott.murray@konsulko.com> | 2024-01-23 15:51:45 -0500 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2024-01-23 16:40:09 -0500 |
commit | cc99d4d772be6635639a0d398076a8890f4e6a42 (patch) | |
tree | db3b41545c94337b43421bab00b829181fdbf57d /lib/presentation/screens/splash/widget/splash_content.dart | |
parent | ee592b5048543951f712c0abb997a6e97c036544 (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/screens/splash/widget/splash_content.dart')
-rw-r--r-- | lib/presentation/screens/splash/widget/splash_content.dart | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/presentation/screens/splash/widget/splash_content.dart b/lib/presentation/screens/splash/widget/splash_content.dart index 51ee71f..6051dcf 100644 --- a/lib/presentation/screens/splash/widget/splash_content.dart +++ b/lib/presentation/screens/splash/widget/splash_content.dart @@ -131,10 +131,7 @@ class SplashContentState extends ConsumerState<SplashContent> width: 452, text: 'Continue', onTap: () { - // ref.read(vehicleProvider.notifier).setInitialState(); - ref - .read(appProvider.notifier) - .update((state) => state = AppState.dashboard); + ref.read(appProvider.notifier).update(AppState.dashboard); }, ), const SizedBox( |