Skip to content

Commit

Permalink
Fix status bar brightness on list page
Browse files Browse the repository at this point in the history
  • Loading branch information
cachapa committed Sep 20, 2021
1 parent f1c8d2d commit 4b1a492
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/to_to_list/to_do_list_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ class TitleBar extends StatelessWidget implements PreferredSizeWidget {
child: BackdropFilter(
filter: ImageFilter.blur(sigmaX: blurSigma, sigmaY: blurSigma),
child: AppBar(
systemOverlayStyle: SystemUiOverlayStyle.dark,
systemOverlayStyle: context.theme.brightness == Brightness.light
? SystemUiOverlayStyle.dark
: SystemUiOverlayStyle.light,
foregroundColor: primaryColor,
centerTitle: true,
backgroundColor: primaryColor.withAlpha(20),
Expand Down

0 comments on commit 4b1a492

Please sign in to comment.