mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-15 04:43:41 +00:00
fix(ui): keep three extension columns at default width
This commit is contained in:
1 parent
9820e58de9
commit
1262844363
2 files changed
+6
-1
No files matched your search
@@ -504,6 +504,11 @@ void main() {
|
||||
closeTo(tester.getRect(find.byKey(const ValueKey('extension-card-extension-2'))).right, 0.01),
|
||||
);
|
||||
|
||||
tester.view.physicalSize = const Size(1024, 768);
|
||||
await tester.pumpAndSettle();
|
||||
expect(gridColumns(), 3);
|
||||
expect(tester.getSize(find.byKey(const ValueKey('extension-card-extension-0'))).width, greaterThanOrEqualTo(290));
|
||||
|
||||
tester.view.physicalSize = const Size(1028, 608);
|
||||
await tester.pumpAndSettle();
|
||||
expect(gridColumns(), 3);
|
||||
|
||||
Reference in new issue
Block a user