fix(app): float the chat composer as glass, cap the reading width, tidy chat chrome
This commit is contained in:
@@ -12,7 +12,10 @@ Future<void> expandClosedChats(WidgetTester tester) async {
|
||||
);
|
||||
}
|
||||
final heading = find.descendant(of: section, matching: find.text('Closed'));
|
||||
await tester.ensureVisible(heading.first);
|
||||
// Centred rather than at the top edge: the list scrolls behind a floating
|
||||
// bar, which would take a tap at the edge.
|
||||
await Scrollable.ensureVisible(tester.element(heading.first), alignment: 0.5);
|
||||
await tester.pumpAndSettle();
|
||||
await tester.tap(heading.first);
|
||||
await tester.pumpAndSettle();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user