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
44536a8231
commit
ac883f3b16
1 changed files with 1 additions and 2 deletions
|
@ -129,8 +129,7 @@ abstract class SendViewModelBase with Store {
|
||||||
state = TransactionCommitting();
|
state = TransactionCommitting();
|
||||||
await pendingTransaction.commit();
|
await pendingTransaction.commit();
|
||||||
|
|
||||||
if (_settingsStore.shouldSaveRecipientAddress &&
|
if (pendingTransaction.id?.isNotEmpty ?? false) {
|
||||||
(pendingTransaction.id?.isNotEmpty ?? false)) {
|
|
||||||
await transactionDescriptionBox.add(TransactionDescription(
|
await transactionDescriptionBox.add(TransactionDescription(
|
||||||
id: pendingTransaction.id, recipientAddress: address,
|
id: pendingTransaction.id, recipientAddress: address,
|
||||||
transactionNote: note));
|
transactionNote: note));
|
||||||
|
|
Loading…
Reference in a new issue