fix(flutter): 恢复播放器深色外观
This commit is contained in:
1 parent
b2284b3a74
commit
1dbe2cb8e9
6 files changed
+48
-38
No files matched your search
@@ -217,7 +217,7 @@ class _PlayerPageState extends State<PlayerPage> with WidgetsBindingObserver {
|
||||
children: [
|
||||
ColoredBox(
|
||||
key: const Key('player-background'),
|
||||
color: AppColors.ink,
|
||||
color: AppColors.playerBackground,
|
||||
child: widget.homeMode
|
||||
? null
|
||||
: RemoteImage(
|
||||
@@ -227,25 +227,6 @@ class _PlayerPageState extends State<PlayerPage> with WidgetsBindingObserver {
|
||||
),
|
||||
),
|
||||
?video,
|
||||
if (!logic.chromeHidden && (!widget.homeMode || _chromeVisible))
|
||||
IgnorePointer(
|
||||
key: widget.homeMode ? const Key('home-feed-scrim') : null,
|
||||
child: const DecoratedBox(
|
||||
decoration: BoxDecoration(
|
||||
gradient: LinearGradient(
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [
|
||||
Color(0x66000000),
|
||||
Color(0x00000000),
|
||||
Color(0x33000000),
|
||||
Color(0xE6000000),
|
||||
],
|
||||
stops: [0, 0.16, 0.55, 1],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
if (widget.homeMode && _chromeVisible && !logic.chromeHidden)
|
||||
Positioned.fill(
|
||||
child: GestureDetector(
|
||||
|
||||
Reference in new issue
Block a user