mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-11 18:22:49 +01:00
systemNavigationBarColor ← appBar.backgroundColor
Makes the system navigation bar color (on Android) follow the color of the appBar (and hence of the spaces bar). See also https://gitlab.com/famedly/fluffychat/-/issues/699.
This commit is contained in:
parent
0da1279510
commit
42bac49337
@ -146,7 +146,8 @@ class _FluffyChatAppState extends State<FluffyChatApp> {
|
|||||||
SystemChrome.setSystemUIOverlayStyle(
|
SystemChrome.setSystemUIOverlayStyle(
|
||||||
SystemUiOverlayStyle(
|
SystemUiOverlayStyle(
|
||||||
statusBarColor: Colors.transparent,
|
statusBarColor: Colors.transparent,
|
||||||
systemNavigationBarColor: Theme.of(context).backgroundColor,
|
systemNavigationBarColor:
|
||||||
|
Theme.of(context).appBarTheme.backgroundColor,
|
||||||
systemNavigationBarIconBrightness:
|
systemNavigationBarIconBrightness:
|
||||||
Theme.of(context).brightness == Brightness.light
|
Theme.of(context).brightness == Brightness.light
|
||||||
? Brightness.dark
|
? Brightness.dark
|
||||||
|
Loading…
Reference in New Issue
Block a user