mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +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(
|
child: Observer(
|
||||||
builder: (_) {
|
builder: (_) {
|
||||||
final templates = exchangeViewModel.templates;
|
final templates = exchangeViewModel.templates;
|
||||||
final itemCount = templates.length;
|
|
||||||
return Row(
|
return Row(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
GestureDetector(
|
GestureDetector(
|
||||||
|
@ -443,7 +443,7 @@ class ExchangePage extends BasePage {
|
||||||
scrollDirection: Axis.horizontal,
|
scrollDirection: Axis.horizontal,
|
||||||
shrinkWrap: true,
|
shrinkWrap: true,
|
||||||
physics: NeverScrollableScrollPhysics(),
|
physics: NeverScrollableScrollPhysics(),
|
||||||
itemCount: itemCount,
|
itemCount: templates.length,
|
||||||
itemBuilder: (context, index) {
|
itemBuilder: (context, index) {
|
||||||
final template = templates[index];
|
final template = templates[index];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue