mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
remove itemcount
This commit is contained in:
parent
26f108ceb6
commit
fb7e3662e2
1 changed files with 2 additions and 2 deletions
|
@ -391,7 +391,7 @@ class ExchangePage extends BasePage {
|
|||
child: Observer(
|
||||
builder: (_) {
|
||||
final templates = exchangeViewModel.templates;
|
||||
final itemCount = templates.length;
|
||||
|
||||
return Row(
|
||||
children: <Widget>[
|
||||
GestureDetector(
|
||||
|
@ -443,7 +443,7 @@ class ExchangePage extends BasePage {
|
|||
scrollDirection: Axis.horizontal,
|
||||
shrinkWrap: true,
|
||||
physics: NeverScrollableScrollPhysics(),
|
||||
itemCount: itemCount,
|
||||
itemCount: templates.length,
|
||||
itemBuilder: (context, index) {
|
||||
final template = templates[index];
|
||||
|
||||
|
|
Loading…
Reference in a new issue