diff --git a/lib/pages/home_view/home_view.dart b/lib/pages/home_view/home_view.dart index c5c253a01..ea9b29558 100644 --- a/lib/pages/home_view/home_view.dart +++ b/lib/pages/home_view/home_view.dart @@ -107,23 +107,8 @@ class _HomeViewState extends ConsumerState<HomeView> { _rotateIconController = RotateIconController(); _children = [ const WalletsView(), - if (Constants.enableExchange) - Stack( - children: [ - const ExchangeView(), - // ExchangeLoadingOverlayView( - // unawaitedLoad: _loadCNData, - // ), - ], - ), - if (Constants.enableBuy) - // Stack( - // children: [ - const BuyView(), - // BuyLoadingOverlayView( - // unawaitedLoad: _loadSimplexData, - // ), - // ], + if (Constants.enableExchange) const ExchangeView(), + if (Constants.enableExchange) const BuyView(), ]; ref.read(notificationsProvider).startCheckingWatchedNotifications(); diff --git a/lib/utilities/constants.dart b/lib/utilities/constants.dart index c0c268c5a..19516c5b9 100644 --- a/lib/utilities/constants.dart +++ b/lib/utilities/constants.dart @@ -23,7 +23,7 @@ abstract class Constants { static bool enableExchange = Util.isDesktop || !Platform.isIOS; // just use enable exchange flag // static bool enableBuy = enableExchange; - // // true; // true for development, TODO change to "Util.isDesktop || !Platform.isIOS;" as above or even just = enableExchange + // // true; // true for development, //TODO: correct for monero? static const int _satsPerCoinMonero = 1000000000000;