From d0299e925d5debb973170f2b0128ed2eb07e0a59 Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 17 Nov 2020 02:20:36 +0100 Subject: [PATCH] Temporarily using InMemoryBankFinder as LuceneBankFinder doesn't work yet with branchesInOtherCities --- .../java/net/dankito/banking/ui/android/di/BankingModule.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/di/BankingModule.kt b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/di/BankingModule.kt index ccfa2ea2..277d91ed 100644 --- a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/di/BankingModule.kt +++ b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/di/BankingModule.kt @@ -14,6 +14,7 @@ import net.dankito.banking.ui.IBankingClientCreator import net.dankito.banking.ui.IRouter import net.dankito.banking.ui.presenter.BankingPresenter import net.dankito.banking.bankfinder.IBankFinder +import net.dankito.banking.bankfinder.InMemoryBankFinder import net.dankito.banking.bankfinder.LuceneBankFinder import net.dankito.banking.persistence.RoomBankingPersistence import net.dankito.banking.persistence.model.RoomModelCreator @@ -124,7 +125,8 @@ class BankingModule(private val applicationContext: Context) { @Provides @Singleton fun provideBankFinder(@Named(IndexFolderKey) indexFolder: File) : IBankFinder { - return LuceneBankFinder(indexFolder) + //return LuceneBankFinder(indexFolder) // TODO: undo + return InMemoryBankFinder() } @Provides