feat(library): Import and Refresh behind one menu button

The library's top bar had a button each for Import and Refresh. Pulling
the list down refreshes too, and is the quicker way on a phone, so both
now sit in a menu ("Library options"), leaving the bar to Search.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MMm7usAo6q9ZZRoPkWjoxi
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-10-12 06:51:16 +02:00
commit 25e73c8c80
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -144,7 +144,9 @@ void main() {
await tester.pump(const Duration(seconds: 1));
await tester.pumpAndSettle();
await tester.tap(find.byTooltip('Import'));
await tester.tap(find.byTooltip('Library options'));
await tester.pumpAndSettle();
await tester.tap(find.text('Import'));
await tester.pumpAndSettle();
await tester.tap(find.text('Anki deck'));
await tester.pump();
@ -187,7 +189,9 @@ void main() {
await tester.pump(const Duration(seconds: 1));
await tester.pumpAndSettle();
await tester.tap(find.byTooltip('Import'));
await tester.tap(find.byTooltip('Library options'));
await tester.pumpAndSettle();
await tester.tap(find.text('Import'));
await tester.pumpAndSettle();
await tester.tap(find.text('Anki deck'));
await tester.pump();