This commit is contained in:
julian 2023-03-10 16:50:06 -06:00
parent da791d483b
commit 5decb25b63
2 changed files with 3 additions and 18 deletions

View file

@ -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();

View file

@ -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;