Ref: Platziert Fehlermeldungen mittig

This commit is contained in:
2026-01-02 01:03:23 +01:00
parent 6a7588c3d4
commit 24a9e3d027

View File

@@ -76,11 +76,13 @@ class _RecentTransactionsListState extends State<RecentTransactionsList> {
return Column(children: [...?recentTransactionsWidgetList]);
} else if (snapshot.hasError) {
return Column(
return Center(
child: Column(
children: [
Icon(Icons.error, color: theme.colorScheme.error),
const Text('Fehler beim holen der letzten Transaktionen!'),
],
),
);
} else {
return const Center(child: CircularProgressIndicator());