2020-09-21 14:50:26 +03:00
|
|
|
class PreferencesKey {
|
2021-05-07 10:36:38 +03:00
|
|
|
static const currentWalletType = 'current_wallet_type';
|
|
|
|
static const currentWalletName = 'current_wallet_name';
|
2020-09-21 14:50:26 +03:00
|
|
|
static const currentNodeIdKey = 'current_node_id';
|
|
|
|
static const currentBitcoinElectrumSererIdKey = 'current_node_id_btc';
|
2021-05-07 10:36:38 +03:00
|
|
|
static const currentLitecoinElectrumSererIdKey = 'current_node_id_ltc';
|
2022-03-30 17:57:04 +02:00
|
|
|
static const currentHavenNodeIdKey = 'current_node_id_xhv';
|
2020-09-21 14:50:26 +03:00
|
|
|
static const currentFiatCurrencyKey = 'current_fiat_currency';
|
2021-01-27 15:51:51 +02:00
|
|
|
static const currentTransactionPriorityKeyLegacy = 'current_fee_priority';
|
2020-09-21 14:50:26 +03:00
|
|
|
static const currentBalanceDisplayModeKey = 'current_balance_display_mode';
|
|
|
|
static const shouldSaveRecipientAddressKey = 'save_recipient_address';
|
2023-04-20 12:59:59 +03:00
|
|
|
static const isAppSecureKey = 'is_app_secure';
|
2023-05-15 09:26:56 -03:00
|
|
|
static const disableBuyKey = 'disable_buy';
|
|
|
|
static const disableSellKey = 'disable_sell';
|
2022-12-07 01:38:36 +02:00
|
|
|
static const currentFiatApiModeKey = 'current_fiat_api_mode';
|
2020-09-21 14:50:26 +03:00
|
|
|
static const allowBiometricalAuthenticationKey =
|
|
|
|
'allow_biometrical_authentication';
|
2023-05-17 15:43:23 +01:00
|
|
|
static const useTOTP2FA = 'use_totp_2fa';
|
|
|
|
static const failedTotpTokenTrials = 'failed_token_trials';
|
|
|
|
static const totpSecretKey = 'totp_qr_secret_key';
|
2022-11-22 04:18:18 +02:00
|
|
|
static const disableExchangeKey = 'disable_exchange';
|
2023-02-06 21:20:43 +02:00
|
|
|
static const exchangeStatusKey = 'exchange_status';
|
2020-12-10 19:53:40 +02:00
|
|
|
static const currentTheme = 'current_theme';
|
2020-12-18 21:30:43 +02:00
|
|
|
static const isDarkThemeLegacy = 'dark_theme';
|
2020-09-21 14:50:26 +03:00
|
|
|
static const displayActionListModeKey = 'display_list_mode';
|
|
|
|
static const currentPinLength = 'current_pin_length';
|
|
|
|
static const currentLanguageCode = 'language_code';
|
2021-05-07 10:36:38 +03:00
|
|
|
static const currentDefaultSettingsMigrationVersion =
|
|
|
|
'current_default_settings_migration_version';
|
2021-01-27 15:51:51 +02:00
|
|
|
static const moneroTransactionPriority = 'current_fee_priority_monero';
|
|
|
|
static const bitcoinTransactionPriority = 'current_fee_priority_bitcoin';
|
2022-12-08 17:23:17 +02:00
|
|
|
static const havenTransactionPriority = 'current_fee_priority_haven';
|
|
|
|
static const litecoinTransactionPriority = 'current_fee_priority_litecoin';
|
2021-06-04 13:30:59 +03:00
|
|
|
static const shouldShowReceiveWarning = 'should_show_receive_warning';
|
2021-10-04 16:03:35 +03:00
|
|
|
static const shouldShowYatPopup = 'should_show_yat_popup';
|
2022-07-19 15:29:28 +01:00
|
|
|
static const moneroWalletPasswordUpdateV1Base = 'monero_wallet_update_v1';
|
2022-11-22 22:52:28 +02:00
|
|
|
static const pinTimeOutDuration = 'pin_timeout_duration';
|
|
|
|
static const lastAuthTimeMilliseconds = 'last_auth_time_milliseconds';
|
2023-02-07 16:53:57 +02:00
|
|
|
static const lastPopupDate = 'last_popup_date';
|
2023-04-17 21:06:58 +03:00
|
|
|
static const lastAppReviewDate = 'last_app_review_date';
|
|
|
|
|
2022-11-22 22:52:28 +02:00
|
|
|
|
2022-07-19 15:29:28 +01:00
|
|
|
|
|
|
|
static String moneroWalletUpdateV1Key(String name)
|
|
|
|
=> '${PreferencesKey.moneroWalletPasswordUpdateV1Base}_${name}';
|
2022-09-01 16:12:38 +02:00
|
|
|
|
|
|
|
static const exchangeProvidersSelection = 'exchange-providers-selection';
|
2023-03-24 17:26:42 +02:00
|
|
|
static const clearnetDonationLink = 'clearnet_donation_link';
|
2023-04-21 18:21:31 +03:00
|
|
|
static const onionDonationLink = 'onion_donation_link';
|
|
|
|
static const lastSeenAppVersion = 'last_seen_app_version';
|
2023-04-16 14:45:35 +01:00
|
|
|
static const shouldShowMarketPlaceInDashboard = 'should_show_marketplace_in_dashboard';
|
2023-04-21 18:21:31 +03:00
|
|
|
static const isNewInstall = 'is_new_install';
|
2021-05-07 10:36:38 +03:00
|
|
|
}
|