fix(home): 调整封面播放量图标与位置
This commit is contained in:
1 parent
f20e7ba7c5
commit
0e7dcf4739
9 files changed
+13
-12
No files matched your search
@@ -101,7 +101,7 @@ void main() {
|
||||
expect(
|
||||
find.descendant(
|
||||
of: find.byKey(const Key('following-views-the-signal-demo')),
|
||||
matching: find.byIcon(Icons.auto_awesome_rounded),
|
||||
matching: find.byIcon(Icons.local_fire_department_rounded),
|
||||
),
|
||||
findsOneWidget,
|
||||
);
|
||||
|
||||
@@ -82,8 +82,8 @@ void main() {
|
||||
findsOneWidget,
|
||||
);
|
||||
expect(
|
||||
tester.getTopRight(views).dx,
|
||||
closeTo(tester.getTopRight(cover).dx, 1),
|
||||
tester.getTopRight(cover).dx - tester.getTopRight(views).dx,
|
||||
AppDimens.cardPlayCountRight,
|
||||
);
|
||||
expect(
|
||||
tester.getBottomLeft(cover).dy - tester.getBottomLeft(views).dy,
|
||||
@@ -96,7 +96,7 @@ void main() {
|
||||
expect(
|
||||
find.descendant(
|
||||
of: views,
|
||||
matching: find.byIcon(Icons.auto_awesome_rounded),
|
||||
matching: find.byIcon(Icons.local_fire_department_rounded),
|
||||
),
|
||||
findsOneWidget,
|
||||
);
|
||||
|
||||
@@ -122,7 +122,7 @@ void main() {
|
||||
expect(views.style?.color, AppColors.textPrimary);
|
||||
final viewIcon = find.descendant(
|
||||
of: find.byKey(const Key('recommend-views-hits-the-signal-demo')),
|
||||
matching: find.byIcon(Icons.auto_awesome_rounded),
|
||||
matching: find.byIcon(Icons.local_fire_department_rounded),
|
||||
);
|
||||
expect(viewIcon, findsOneWidget);
|
||||
final badge = find.byKey(
|
||||
|
||||
Reference in new issue
Block a user