fix(flutter): feed rail 底部对齐并复用播放页更多

This commit is contained in:
Zhou Weidong committed 2026-10-20 14:23:36 +08:00
1 parent e800f5971f
commit 7e415f6f4f
5 files changed
+15 -86

No files matched your search

+3
View File
@@ -125,6 +125,7 @@ void main() {
onDownload: () {},
onClear: () {},
onSearch: () {},
onMore: () {},
),
),
),
@@ -215,6 +216,7 @@ void main() {
onDownload: () {},
onClear: () {},
onSearch: () {},
onMore: () {},
onScrubStart: () {},
onSeek: (value) => seeked = value,
),
@@ -356,6 +358,7 @@ void main() {
onDownload: () {},
onClear: () {},
onSearch: () {},
onMore: () {},
),
),
),
+5 -1
View File
@@ -120,6 +120,7 @@ void main() {
expect(railTop, greaterThan(844 * 0.45));
expect(railBottom, lessThanOrEqualTo(infoTop));
expect(infoTop - railBottom, lessThanOrEqualTo(20));
});
testWidgets('should_boost_feed_on_side_long_press', (tester) async {
@@ -151,7 +152,10 @@ void main() {
await gesture.up();
await tester.pumpAndSettle();
expect(find.byKey(const Key('home-feed-clear')), findsOneWidget);
expect(find.byKey(const Key('player-more-sheet')), findsOneWidget);
expect(find.byKey(const Key('home-feed-clear')), findsNothing);
expect(find.byKey(const Key('home-feed-download')), findsNothing);
expect(find.byKey(const Key('home-feed-pip')), findsNothing);
});
testWidgets('should_restore_light_theme_after_leaving_feed_tab', (