From 193e4305ca602e1195089aeb7d6197162bd45fdd Mon Sep 17 00:00:00 2001 From: dankito Date: Sat, 10 Oct 2020 16:08:47 +0200 Subject: [PATCH] Removed injecting unused CoreDataBankingPersistence --- .../BankingiOSApp/ui/dialogs/TransferMoneyDialog.swift | 2 -- ui/BankingiOSApp/BankingiOSApp/ui/views/IconView.swift | 3 --- 2 files changed, 5 deletions(-) diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/TransferMoneyDialog.swift b/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/TransferMoneyDialog.swift index 54736c93..917ecf28 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/TransferMoneyDialog.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/TransferMoneyDialog.swift @@ -69,8 +69,6 @@ struct TransferMoneyDialog: View { @Inject private var presenter: BankingPresenterSwift - @Inject private var persistence: CoreDataBankingPersistence - init() { self.accountsSupportingTransferringMoney = self.presenter.accountsSupportingTransferringMoneySortedByDisplayIndex diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/IconView.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/IconView.swift index 6c762719..bbeecc22 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/IconView.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/IconView.swift @@ -8,9 +8,6 @@ struct IconView: View { let defaultIconName: String - - @Inject private var persistence: CoreDataBankingPersistence - var body: some View { getBankIcon(self.iconData)