Fixed that on first app run AppSettings isn't initialized yet when init calls appSettings.automaticallyUpdateAccountsAfterMinutes
This commit is contained in:
parent
f1a8b3edb4
commit
4896d8579b
|
@ -77,6 +77,10 @@ open class BankingPresenter(
|
|||
}
|
||||
|
||||
|
||||
var appSettings: AppSettings = AppSettings()
|
||||
protected set
|
||||
|
||||
|
||||
protected val bankingClientsForBanks = mutableMapOf<TypedBankData, IBankingClient>()
|
||||
|
||||
protected var _selectedAccounts = mutableListOf<TypedBankAccount>()
|
||||
|
@ -1011,9 +1015,6 @@ open class BankingPresenter(
|
|||
}
|
||||
|
||||
|
||||
var appSettings: AppSettings = AppSettings()
|
||||
protected set
|
||||
|
||||
open fun appSettingsChanged() {
|
||||
persistAppSettings()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue