mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-02-02 19:26:27 +00:00
CAKE-198 | fixed saving transaction description in the send_view_model.dart
This commit is contained in:
parent
ac883f3b16
commit
2d49d4f093
1 changed files with 5 additions and 2 deletions
|
@ -130,9 +130,12 @@ abstract class SendViewModelBase with Store {
|
|||
await pendingTransaction.commit();
|
||||
|
||||
if (pendingTransaction.id?.isNotEmpty ?? false) {
|
||||
await transactionDescriptionBox.add(TransactionDescription(
|
||||
_settingsStore.shouldSaveRecipientAddress
|
||||
? await transactionDescriptionBox.add(TransactionDescription(
|
||||
id: pendingTransaction.id, recipientAddress: address,
|
||||
transactionNote: note));
|
||||
transactionNote: note))
|
||||
: await transactionDescriptionBox.add(TransactionDescription(
|
||||
id: pendingTransaction.id, transactionNote: note));
|
||||
}
|
||||
|
||||
state = TransactionCommitted();
|
||||
|
|
Loading…
Reference in a new issue