fix issues from review

wownero
Godwin Asuquo 2 years ago
parent 1d3e4f4331
commit 6254d08dc9

@ -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,

@ -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 =>

Loading…
Cancel
Save