mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-10 12:54:38 +00:00
CAKE-306 | merged main branch into current
This commit is contained in:
parent
1a9ab1a686
commit
6950ec5460
1 changed files with 4 additions and 2 deletions
|
@ -171,7 +171,8 @@ class PreOrderPage extends BasePage {
|
||||||
),
|
),
|
||||||
if (buyViewModel.isShowProviderButtons)
|
if (buyViewModel.isShowProviderButtons)
|
||||||
...buyViewModel.items.map(
|
...buyViewModel.items.map(
|
||||||
(item) => Observer(builder: (_) => FutureBuilder<BuyAmount>(
|
(item) => Observer(builder: (_) =>
|
||||||
|
FutureBuilder<BuyAmount>(
|
||||||
future: item.buyAmount,
|
future: item.buyAmount,
|
||||||
builder: (context, AsyncSnapshot<BuyAmount> snapshot) {
|
builder: (context, AsyncSnapshot<BuyAmount> snapshot) {
|
||||||
double sourceAmount;
|
double sourceAmount;
|
||||||
|
@ -193,7 +194,8 @@ class PreOrderPage extends BasePage {
|
||||||
EdgeInsets.only(left: 15, top: 20, right: 15),
|
EdgeInsets.only(left: 15, top: 20, right: 15),
|
||||||
child: Observer(builder: (_) {
|
child: Observer(builder: (_) {
|
||||||
return BuyListItem(
|
return BuyListItem(
|
||||||
selectedProvider: buyViewModel.selectedProvider,
|
selectedProvider:
|
||||||
|
buyViewModel.selectedProvider,
|
||||||
provider: item.provider,
|
provider: item.provider,
|
||||||
sourceAmount: sourceAmount,
|
sourceAmount: sourceAmount,
|
||||||
sourceCurrency: buyViewModel.fiatCurrency,
|
sourceCurrency: buyViewModel.fiatCurrency,
|
||||||
|
|
Loading…
Reference in a new issue