mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
* feat: use better embedded Tor * update docs [skip ci] * fix: update torch properly add minimum os version for iOS * fix: use of invalid thread api on iOS * fix: disable use of lzma and zstd system libraries * fix: update torch_dart to work on linux
17 lines
773 B
Dart
17 lines
773 B
Dart
import 'package:cw_core/utils/proxy_wrapper.dart';
|
|
import 'package:cw_core/utils/tor/disabled.dart';
|
|
import 'package:flutter/foundation.dart';
|
|
|
|
class FeatureFlag {
|
|
static const bool isCakePayEnabled = false;
|
|
static const bool isCakePayPurchaseSimulationEnabled = true;
|
|
static const bool isCakePayRedemptionFlowEnabled = false;
|
|
static const bool isExolixEnabled = true;
|
|
static const bool isBackgroundSyncEnabled = true;
|
|
static bool get isInAppTorEnabled => CakeTor.instance is! CakeTorDisabled;
|
|
static const int verificationWordsCount = kDebugMode ? 0 : 2;
|
|
static const bool hasDevOptions = bool.fromEnvironment('hasDevOptions', defaultValue: kDebugMode);
|
|
static const bool hasBitcoinViewOnly = true;
|
|
static const bool customBackgroundEnabled = false;
|
|
}
|