From ae39f2cbaf604ca3cd8e95255986bffd97b7a500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20M=C3=BCllner?= <79001016+derkauzigekoala@users.noreply.github.com> Date: Tue, 24 Feb 2026 20:14:10 +0100 Subject: [PATCH] Update lib/screens/scan_tab.dart better error message on failed collection loading Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- lib/screens/scan_tab.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/screens/scan_tab.dart b/lib/screens/scan_tab.dart index 812ffb2..df7d0f1 100644 --- a/lib/screens/scan_tab.dart +++ b/lib/screens/scan_tab.dart @@ -43,6 +43,11 @@ class ScanTabState extends State { } catch (e) { if (!mounted) return; setState(() => _loadingCollections = false); + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text('Failed to load collections: $e'), + ), + ); } }