feat(app): a pasted or picked image shows a thumbnail in the chat composer

This commit is contained in:
2026-10-23 19:00:39 +01:00
parent 6265b5d1cc
commit 24e465e521
2 changed files with 106 additions and 1 deletions
@@ -121,6 +121,11 @@ void main() {
expect(_chips, findsOneWidget);
expect(find.text('shot.png'), findsOneWidget);
// A pasted image shows its picture, not only its name.
expect(
find.byKey(const ValueKey<String>('chat-composer-thumbnail-0')),
findsOneWidget,
);
expect(fake.listens, 1);
expect(fake.stops, 0);
});