From 2f1405226232a1238ee926ef09d41ce2c41e6e46 Mon Sep 17 00:00:00 2001 From: Florian Schindler <florianschndlr@gmail.com> Date: Tue, 27 Jun 2023 18:59:22 +0200 Subject: [PATCH] Update home_view.dart --- trackeroo/lib/frontend/views/home_view.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/trackeroo/lib/frontend/views/home_view.dart b/trackeroo/lib/frontend/views/home_view.dart index 9b9ccb4..7e09852 100644 --- a/trackeroo/lib/frontend/views/home_view.dart +++ b/trackeroo/lib/frontend/views/home_view.dart @@ -175,9 +175,7 @@ class _HomeViewState extends State<HomeView> { physics: const NeverScrollableScrollPhysics(), shrinkWrap: true, itemCount: transContr.transactionsList.length <= 25 ? transContr.transactionsList.length : 25, - itemBuilder: (context, index) { - return TransactionListtile(transaction: transContr.transactionsList[index]); - }, + itemBuilder: (context, index) => TransactionListtile(transaction: transContr.transactionsList[index]) ); }, ), -- GitLab