CAKE-306 | fixed pre_order_page.dart

OleksandrSobol committed Jun 2, 2021 at 10:03 UTC c8debf46efe52a6fc5246561ad021fc2b1149580
1 file changed +2 -3
lib/src/screens/buy/pre_order_page.dart
+2 -3
@@ -199,9 +199,8 @@ class PreOrderPage extends BasePage {
199 sourceCurrency: buyViewModel.fiatCurrency,
200 destAmount: destAmount,
201 destCurrency: buyViewModel.cryptoCurrency,
202 - onTap: ((buyViewModel.buyAmountViewModel
203 - .doubleAmount != 0.0) &&
204 - (snapshot.hasData)) ? () =>
202 + onTap: ((buyViewModel.doubleAmount != 0.0)
203 + && (snapshot.hasData)) ? () =>
204 onSelectBuyProvider(
205 context: context,
206 provider: item.provider,