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,
|
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,
|
||||||
|
|
|
@ -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 =>
|
||||||
|
|
Loading…
Reference in a new issue