fix(flutter): 恢复播放器深色外观
This commit is contained in:
1 parent
b2284b3a74
commit
1dbe2cb8e9
6 files changed
+48
-38
No files matched your search
@@ -191,12 +191,12 @@ void main() {
|
||||
tester
|
||||
.widget<ColoredBox>(find.byKey(const Key('player-background')))
|
||||
.color,
|
||||
AppColors.ink,
|
||||
AppColors.playerBackground,
|
||||
);
|
||||
final panel = tester.widget<Container>(
|
||||
find.byKey(const Key('player-controls-bottom')),
|
||||
);
|
||||
expect((panel.decoration! as BoxDecoration).color, AppColors.card);
|
||||
expect((panel.decoration! as BoxDecoration).color, AppColors.playerPanel);
|
||||
|
||||
expect(bottom.height, lessThanOrEqualTo(200));
|
||||
expect(bottom.top, greaterThanOrEqualTo(screenHeight * 0.78));
|
||||
|
||||
Reference in new issue
Block a user