diff options
Diffstat (limited to 'lib/presentation/screens/settings/settings_screens/bluetooth')
-rw-r--r-- | lib/presentation/screens/settings/settings_screens/bluetooth/widgets/bluetooth_content.dart | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/presentation/screens/settings/settings_screens/bluetooth/widgets/bluetooth_content.dart b/lib/presentation/screens/settings/settings_screens/bluetooth/widgets/bluetooth_content.dart index 3fbb75f..1a6de4e 100644 --- a/lib/presentation/screens/settings/settings_screens/bluetooth/widgets/bluetooth_content.dart +++ b/lib/presentation/screens/settings/settings_screens/bluetooth/widgets/bluetooth_content.dart @@ -75,7 +75,7 @@ class BluetoothContentState extends ConsumerState<BluetoothContent> { title: "Bluetooth", hasBackButton: true, onPressed: () { - context.flow<AppState>().update((state) => AppState.settings); + ref.read(appProvider.notifier).back(); }, ), Expanded( |