mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-04-19 05:19:11 +00:00
Fixed update screen header color
This commit is contained in:
parent
e6a01ac546
commit
8e5bbdbd4b
1 changed files with 102 additions and 93 deletions
|
@ -218,9 +218,16 @@ class _Header extends SliverPersistentHeaderDelegate {
|
|||
final iconBottom = _iconMinBottomPositionExent + (iconMaxBottomPositionExent-iconMinBottomPositionExent)*(1-iconPercentage);
|
||||
|
||||
return LayoutBuilder(
|
||||
builder: (context, constraints) => Container(
|
||||
builder: (context, constraints) => Stack(
|
||||
children: [
|
||||
Container(
|
||||
decoration: BoxDecoration(
|
||||
color: Theme.of(context).colorScheme.surfaceContainerHighest,
|
||||
color: Theme.of(context).colorScheme.surface,
|
||||
),
|
||||
),
|
||||
Container(
|
||||
decoration: BoxDecoration(
|
||||
color: Theme.of(context).colorScheme.surfaceTint.withOpacity(0.075),
|
||||
),
|
||||
child: Align(
|
||||
alignment: Alignment.topLeft,
|
||||
|
@ -314,6 +321,8 @@ class _Header extends SliverPersistentHeaderDelegate {
|
|||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue