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,
itemBuilder: (context, index) {
final template = templates[index];
print(template.cryptoCurrency);
return TemplateTile(
key: UniqueKey(),
to: template.name,

View file

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