Fixed that countDaysForWhichTransactionsAreKept may is null

This commit is contained in:
dankito 2020-10-28 15:43:23 +01:00
parent 7da0c989b2
commit f426632e01
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class Mapper {
mapped.haveAllTransactionsBeenRetrieved = account.haveAllTransactionsBeenRetrieved mapped.haveAllTransactionsBeenRetrieved = account.haveAllTransactionsBeenRetrieved
mapped.isAccountTypeSupportedByApplication = account.isAccountTypeSupportedByApplication mapped.isAccountTypeSupportedByApplication = account.isAccountTypeSupportedByApplication
mapped.countDaysForWhichTransactionsAreKept = map(account.countDaysForWhichTransactionsAreKept)! mapped.countDaysForWhichTransactionsAreKept = map(account.countDaysForWhichTransactionsAreKept ?? 0)!
mapped.userSetDisplayName = account.userSetDisplayName mapped.userSetDisplayName = account.userSetDisplayName
mapped.displayIndex = account.displayIndex mapped.displayIndex = account.displayIndex