fix issues from review

This commit is contained in:
Godwin Asuquo 2022-01-26 17:11:32 +01:00
parent 1d3e4f4331
commit 6254d08dc9
2 changed files with 2 additions and 4 deletions

View file

@ -197,7 +197,6 @@ class SendPage extends BasePage {
itemCount: itemCount, itemCount: itemCount,
itemBuilder: (context, index) { itemBuilder: (context, index) {
final template = templates[index]; final template = templates[index];
print(template.cryptoCurrency);
return TemplateTile( return TemplateTile(
key: UniqueKey(), key: UniqueKey(),
to: template.name, to: template.name,

View file

@ -130,10 +130,9 @@ abstract class SendViewModelBase with Store {
bool get isReadyForSend => _wallet.syncStatus is SyncedSyncStatus; bool get isReadyForSend => _wallet.syncStatus is SyncedSyncStatus;
@computed @computed
ObservableList<Template> get templates => sendTemplateViewModel.templates List<Template> get templates => sendTemplateViewModel.templates
.where((template) => template.cryptoCurrency == _wallet.currency.title) .where((template) => template.cryptoCurrency == _wallet.currency.title)
.toList() .toList();
.asObservable();
@computed @computed
bool get isElectrumWallet => bool get isElectrumWallet =>