From 427b47a3243e63fa79b19b4167023126a2a2155d Mon Sep 17 00:00:00 2001 From: dankito Date: Sat, 18 Jul 2020 01:39:36 +0200 Subject: [PATCH] Added IBankingPersistence parameter --- .../kotlin/net/dankito/banking/BankingPresenterSwift.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/BankingUiNativeIntegration/src/iosMain/kotlin/net/dankito/banking/BankingPresenterSwift.kt b/ui/BankingUiNativeIntegration/src/iosMain/kotlin/net/dankito/banking/BankingPresenterSwift.kt index 249e974c..1459e799 100644 --- a/ui/BankingUiNativeIntegration/src/iosMain/kotlin/net/dankito/banking/BankingPresenterSwift.kt +++ b/ui/BankingUiNativeIntegration/src/iosMain/kotlin/net/dankito/banking/BankingPresenterSwift.kt @@ -2,7 +2,7 @@ package net.dankito.banking import net.dankito.banking.bankfinder.InMemoryBankFinder import net.dankito.banking.fints.webclient.IWebClient -import net.dankito.banking.persistence.NoOpBankingPersistence +import net.dankito.banking.persistence.IBankingPersistence import net.dankito.banking.search.NoOpRemitteeSearcher import net.dankito.banking.ui.IRouter import net.dankito.banking.ui.presenter.BankingPresenter @@ -14,8 +14,8 @@ import net.dankito.banking.util.extraction.NoOpTextExtractorRegistry import net.dankito.utils.multiplatform.File -class BankingPresenterSwift(dataFolder: File, router: IRouter, webClient: IWebClient, asyncRunner: IAsyncRunner) - : BankingPresenter(fints4kBankingClientCreator(NoOpSerializer(), webClient), InMemoryBankFinder(), dataFolder, NoOpBankingPersistence(), router, +class BankingPresenterSwift(dataFolder: File, router: IRouter, webClient: IWebClient, persistence: IBankingPersistence, asyncRunner: IAsyncRunner) + : BankingPresenter(fints4kBankingClientCreator(NoOpSerializer(), webClient), InMemoryBankFinder(), dataFolder, persistence, router, NoOpRemitteeSearcher(), NoOpBankIconFinder(), NoOpTextExtractorRegistry(), NoOpInvoiceDataExtractor(), NoOpSerializer(), asyncRunner) { } \ No newline at end of file