mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-16 09:34:06 +01:00
Disable Lightning across UI surfaces (FeatureFlag.isLightningEnabled = false)
- Add FeatureFlag.isLightningEnabled flag (off) - Gate dashboard_view_model.hasLightning behind the flag, which transitively hides the LightningSwitcher in TopBar and the Lightning Username settings row (both already gated on hasLightning) - Remove CryptoCurrency.btcln from CryptoCurrency.all so it stops appearing in any all-currencies pickers/lists Lightning code paths (cw_bitcoin/lib/lightning/, lightning send/receive pages) are intentionally left in place so the flag can be flipped back on once we have an LSP / Greenlight node lined up.
This commit is contained in:
@@ -7,6 +7,9 @@ class FeatureFlag {
|
||||
static const bool isCakePayPurchaseSimulationEnabled = true;
|
||||
static const bool isCakePayRedemptionFlowEnabled = false;
|
||||
static const bool isExolixEnabled = true;
|
||||
// Hash Wallet: Lightning disabled — running Greenlight/LSP infra is out of
|
||||
// scope for now. Re-enable once we have an LSP relationship lined up.
|
||||
static const bool isLightningEnabled = false;
|
||||
static const bool isBackgroundSyncEnabled = true;
|
||||
static bool get isInAppTorEnabled => CakeTor.instance is! CakeTorDisabled;
|
||||
static const int verificationWordsCount = kDebugMode || kProfileMode ? 0 : 2;
|
||||
|
||||
Reference in New Issue
Block a user