CAKE-198 | fixed saving transaction description in the send_view_model.dart

This commit is contained in:
OleksandrSobol 2020-12-24 11:01:27 +02:00
parent 44536a8231
commit ac883f3b16

View file

@ -129,8 +129,7 @@ abstract class SendViewModelBase with Store {
state = TransactionCommitting();
await pendingTransaction.commit();
if (_settingsStore.shouldSaveRecipientAddress &&
(pendingTransaction.id?.isNotEmpty ?? false)) {
if (pendingTransaction.id?.isNotEmpty ?? false) {
await transactionDescriptionBox.add(TransactionDescription(
id: pendingTransaction.id, recipientAddress: address,
transactionNote: note));