From 9ee82e9a5b4a7c90c9909eb1f43a2c2bf91a7491 Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 26 Aug 2024 04:52:38 +0200 Subject: [PATCH] Fixed that file got read twice --- .../kotlin/net/codinux/banking/ui/service/BankingService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/service/BankingService.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/service/BankingService.kt index db8b510..d35d572 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/service/BankingService.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/service/BankingService.kt @@ -28,7 +28,7 @@ class BankingService( } val transactions = readTransactionsFromCsv() - cachedTransactions = readTransactionsFromCsv() + cachedTransactions = transactions return transactions }