mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-18 05:51:34 +02:00
CAKE-198 | fixed saving transaction description in the send_view_model.dart
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user