Merge branch 'systemnavbarcolor' into 'main'

systemNavigationBarColor ← appBar.backgroundColor

Closes #699

See merge request famedly/fluffychat!613
This commit is contained in:
Krille Fear 2021-12-09 07:40:54 +00:00
commit f6b42d5de7

View File

@ -146,7 +146,8 @@ class _FluffyChatAppState extends State<FluffyChatApp> {
SystemChrome.setSystemUIOverlayStyle(
SystemUiOverlayStyle(
statusBarColor: Colors.transparent,
systemNavigationBarColor: Theme.of(context).backgroundColor,
systemNavigationBarColor:
Theme.of(context).appBarTheme.backgroundColor,
systemNavigationBarIconBrightness:
Theme.of(context).brightness == Brightness.light
? Brightness.dark