mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-30 05:12:00 +02:00
fix(material): keep navigation tint continuous through system inset
This commit is contained in:
@@ -34,6 +34,7 @@ class ExpressiveNavigationBar extends StatelessWidget {
|
||||
return MaterialExpressiveScope(
|
||||
child: ColoredBox(
|
||||
color: backgroundColor,
|
||||
// Paint the tint once across both the controls and system gesture area.
|
||||
// Use the app's scaled MediaQuery insets, rather than raw view metrics.
|
||||
child: SafeArea(
|
||||
top: false,
|
||||
@@ -44,7 +45,7 @@ class ExpressiveNavigationBar extends StatelessWidget {
|
||||
autoLayout: false,
|
||||
safeArea: false,
|
||||
padding: EdgeInsets.zero,
|
||||
backgroundColor: backgroundColor,
|
||||
backgroundColor: Colors.transparent,
|
||||
destinations: [
|
||||
for (final destination in destinations)
|
||||
_NavigationDestination(
|
||||
|
||||
Reference in New Issue
Block a user