mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
* add duress PIN feature * add localization * Update configure.dart * Update configure.dart * add duress PIN validation logic * - fix error popup - put behind a feature flag --------- Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
18 lines
818 B
Dart
18 lines
818 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;
|
|
static const bool duressPinEnabled = true;
|
|
}
|