fix: Theme toggle not updating UI (#1205)

This commit is contained in:
Luke Greenwood 2022-10-02 13:19:17 +01:00 committed by GitHub
parent 04a7c8dc6d
commit 2d1793c5ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ class SettingsAppearanceView extends StatelessWidget {
@override
Widget build(BuildContext context) {
final theme = context.read<AppTheme>();
final theme = context.watch<AppTheme>();
return SingleChildScrollView(
child: Column(