diff --git a/lib/src/screens/send/send_page.dart b/lib/src/screens/send/send_page.dart index cdf7de566..71fff8914 100644 --- a/lib/src/screens/send/send_page.dart +++ b/lib/src/screens/send/send_page.dart @@ -197,7 +197,6 @@ class SendPage extends BasePage { itemCount: itemCount, itemBuilder: (context, index) { final template = templates[index]; - return TemplateTile( key: UniqueKey(), to: template.name, diff --git a/lib/view_model/send/send_view_model.dart b/lib/view_model/send/send_view_model.dart index 9de6eefc8..fb753e876 100644 --- a/lib/view_model/send/send_view_model.dart +++ b/lib/view_model/send/send_view_model.dart @@ -29,8 +29,11 @@ part 'send_view_model.g.dart'; class SendViewModel = SendViewModelBase with _$SendViewModel; abstract class SendViewModelBase with Store { - SendViewModelBase(this._wallet, this._settingsStore, - this.sendTemplateViewModel, this._fiatConversationStore, + SendViewModelBase( + this._wallet, + this._settingsStore, + this.sendTemplateViewModel, + this._fiatConversationStore, this.transactionDescriptionBox) : state = InitialExecutionState() { final priority = _settingsStore.priority[_wallet.type]; @@ -127,15 +130,17 @@ abstract class SendViewModelBase with Store { bool get isReadyForSend => _wallet.syncStatus is SyncedSyncStatus; @computed - ObservableList