mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-23 19:16:09 +00:00
fix issues from review
This commit is contained in:
parent
1d3e4f4331
commit
6254d08dc9
2 changed files with 2 additions and 4 deletions
|
@ -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…
Reference in a new issue