mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-12 09:27:01 +00:00
clean up
This commit is contained in:
parent
da791d483b
commit
5decb25b63
2 changed files with 3 additions and 18 deletions
lib
|
@ -107,23 +107,8 @@ class _HomeViewState extends ConsumerState<HomeView> {
|
||||||
_rotateIconController = RotateIconController();
|
_rotateIconController = RotateIconController();
|
||||||
_children = [
|
_children = [
|
||||||
const WalletsView(),
|
const WalletsView(),
|
||||||
if (Constants.enableExchange)
|
if (Constants.enableExchange) const ExchangeView(),
|
||||||
Stack(
|
if (Constants.enableExchange) const BuyView(),
|
||||||
children: [
|
|
||||||
const ExchangeView(),
|
|
||||||
// ExchangeLoadingOverlayView(
|
|
||||||
// unawaitedLoad: _loadCNData,
|
|
||||||
// ),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
if (Constants.enableBuy)
|
|
||||||
// Stack(
|
|
||||||
// children: [
|
|
||||||
const BuyView(),
|
|
||||||
// BuyLoadingOverlayView(
|
|
||||||
// unawaitedLoad: _loadSimplexData,
|
|
||||||
// ),
|
|
||||||
// ],
|
|
||||||
];
|
];
|
||||||
|
|
||||||
ref.read(notificationsProvider).startCheckingWatchedNotifications();
|
ref.read(notificationsProvider).startCheckingWatchedNotifications();
|
||||||
|
|
|
@ -23,7 +23,7 @@ abstract class Constants {
|
||||||
static bool enableExchange = Util.isDesktop || !Platform.isIOS;
|
static bool enableExchange = Util.isDesktop || !Platform.isIOS;
|
||||||
// just use enable exchange flag
|
// just use enable exchange flag
|
||||||
// static bool enableBuy = enableExchange;
|
// 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?
|
//TODO: correct for monero?
|
||||||
static const int _satsPerCoinMonero = 1000000000000;
|
static const int _satsPerCoinMonero = 1000000000000;
|
||||||
|
|
Loading…
Reference in a new issue