From e3a6cd7df278ad1fd5152e12f2e7354de299bc6d Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 26 Sep 2024 14:27:38 +0200 Subject: [PATCH] Using now properties from new BankingModel --- .../banking/ui/screens/AccountTransactionDetailsScreen.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/AccountTransactionDetailsScreen.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/AccountTransactionDetailsScreen.kt index 3427449..c517d1a 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/AccountTransactionDetailsScreen.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/AccountTransactionDetailsScreen.kt @@ -39,9 +39,9 @@ fun AccountTransactionDetailsScreen(transaction: AccountTransactionEntity, onClo || transaction.journalNumber != null || transaction.textKeyAddition != null - var enteredOtherPartyName by remember { mutableStateOf(transaction.userSetOtherPartyName ?: transaction.otherPartyName ?: "") } + var enteredOtherPartyName by remember { mutableStateOf(transaction.displayedOtherPartyName ?: "") } - var enteredReference by remember { mutableStateOf(transaction.userSetReference ?: transaction.reference ?: "") } + var enteredReference by remember { mutableStateOf(transaction.displayedReference ?: "") } var enteredNotes by remember { mutableStateOf(transaction.notes ?: "") }