mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 19:26:37 +00:00
clean up
This commit is contained in:
parent
da791d483b
commit
5decb25b63
2 changed files with 3 additions and 18 deletions
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue