2020-09-21 11:50:26 +00:00
|
|
|
class PreferencesKey {
|
2021-05-07 07:36:38 +00:00
|
|
|
static const currentWalletType = 'current_wallet_type';
|
|
|
|
static const currentWalletName = 'current_wallet_name';
|
2020-09-21 11:50:26 +00:00
|
|
|
static const currentNodeIdKey = 'current_node_id';
|
|
|
|
static const currentBitcoinElectrumSererIdKey = 'current_node_id_btc';
|
2021-05-07 07:36:38 +00:00
|
|
|
static const currentLitecoinElectrumSererIdKey = 'current_node_id_ltc';
|
2022-03-30 15:57:04 +00:00
|
|
|
static const currentHavenNodeIdKey = 'current_node_id_xhv';
|
2023-08-04 17:01:49 +00:00
|
|
|
static const currentEthereumNodeIdKey = 'current_node_id_eth';
|
2023-12-02 02:26:43 +00:00
|
|
|
static const currentPolygonNodeIdKey = 'current_node_id_matic';
|
2023-10-05 01:09:07 +00:00
|
|
|
static const currentNanoNodeIdKey = 'current_node_id_nano';
|
|
|
|
static const currentNanoPowNodeIdKey = 'current_node_id_nano_pow';
|
|
|
|
static const currentBananoNodeIdKey = 'current_node_id_banano';
|
|
|
|
static const currentBananoPowNodeIdKey = 'current_node_id_banano_pow';
|
2020-09-21 11:50:26 +00:00
|
|
|
static const currentFiatCurrencyKey = 'current_fiat_currency';
|
2023-10-12 22:50:16 +00:00
|
|
|
static const currentBitcoinCashNodeIdKey = 'current_node_id_bch';
|
2021-01-27 13:51:51 +00:00
|
|
|
static const currentTransactionPriorityKeyLegacy = 'current_fee_priority';
|
2020-09-21 11:50:26 +00:00
|
|
|
static const currentBalanceDisplayModeKey = 'current_balance_display_mode';
|
|
|
|
static const shouldSaveRecipientAddressKey = 'save_recipient_address';
|
2023-04-20 09:59:59 +00:00
|
|
|
static const isAppSecureKey = 'is_app_secure';
|
2023-05-15 12:26:56 +00:00
|
|
|
static const disableBuyKey = 'disable_buy';
|
|
|
|
static const disableSellKey = 'disable_sell';
|
2023-09-14 19:14:49 +00:00
|
|
|
static const defaultBuyProvider = 'default_buy_provider';
|
2022-12-06 23:38:36 +00:00
|
|
|
static const currentFiatApiModeKey = 'current_fiat_api_mode';
|
2023-10-03 14:56:10 +00:00
|
|
|
static const allowBiometricalAuthenticationKey = 'allow_biometrical_authentication';
|
2023-05-17 14:43:23 +00:00
|
|
|
static const useTOTP2FA = 'use_totp_2fa';
|
|
|
|
static const failedTotpTokenTrials = 'failed_token_trials';
|
2022-11-22 02:18:18 +00:00
|
|
|
static const disableExchangeKey = 'disable_exchange';
|
2023-02-06 19:20:43 +00:00
|
|
|
static const exchangeStatusKey = 'exchange_status';
|
2020-12-10 17:53:40 +00:00
|
|
|
static const currentTheme = 'current_theme';
|
2020-12-18 19:30:43 +00:00
|
|
|
static const isDarkThemeLegacy = 'dark_theme';
|
2020-09-21 11:50:26 +00:00
|
|
|
static const displayActionListModeKey = 'display_list_mode';
|
|
|
|
static const currentPinLength = 'current_pin_length';
|
|
|
|
static const currentLanguageCode = 'language_code';
|
2021-05-07 07:36:38 +00:00
|
|
|
static const currentDefaultSettingsMigrationVersion =
|
|
|
|
'current_default_settings_migration_version';
|
2021-01-27 13:51:51 +00:00
|
|
|
static const moneroTransactionPriority = 'current_fee_priority_monero';
|
|
|
|
static const bitcoinTransactionPriority = 'current_fee_priority_bitcoin';
|
2022-12-08 15:23:17 +00:00
|
|
|
static const havenTransactionPriority = 'current_fee_priority_haven';
|
|
|
|
static const litecoinTransactionPriority = 'current_fee_priority_litecoin';
|
2023-08-04 17:01:49 +00:00
|
|
|
static const ethereumTransactionPriority = 'current_fee_priority_ethereum';
|
2023-12-02 02:26:43 +00:00
|
|
|
static const polygonTransactionPriority = 'current_fee_priority_polygon';
|
2023-10-12 22:50:16 +00:00
|
|
|
static const bitcoinCashTransactionPriority = 'current_fee_priority_bitcoin_cash';
|
2021-06-04 10:30:59 +00:00
|
|
|
static const shouldShowReceiveWarning = 'should_show_receive_warning';
|
2021-10-04 13:03:35 +00:00
|
|
|
static const shouldShowYatPopup = 'should_show_yat_popup';
|
2022-07-19 14:29:28 +00:00
|
|
|
static const moneroWalletPasswordUpdateV1Base = 'monero_wallet_update_v1';
|
2023-08-04 17:55:56 +00:00
|
|
|
static const syncModeKey = 'sync_mode';
|
|
|
|
static const syncAllKey = 'sync_all';
|
2022-11-22 20:52:28 +00:00
|
|
|
static const pinTimeOutDuration = 'pin_timeout_duration';
|
|
|
|
static const lastAuthTimeMilliseconds = 'last_auth_time_milliseconds';
|
2023-02-07 14:53:57 +00:00
|
|
|
static const lastPopupDate = 'last_popup_date';
|
2023-04-17 18:06:58 +00:00
|
|
|
static const lastAppReviewDate = 'last_app_review_date';
|
2023-08-04 17:01:49 +00:00
|
|
|
static const sortBalanceBy = 'sort_balance_by';
|
|
|
|
static const pinNativeTokenAtTop = 'pin_native_token_at_top';
|
|
|
|
static const useEtherscan = 'use_etherscan';
|
2023-12-02 02:26:43 +00:00
|
|
|
static const usePolygonScan = 'use_polygonscan';
|
2023-11-17 18:35:46 +00:00
|
|
|
static const defaultNanoRep = 'default_nano_representative';
|
|
|
|
static const defaultBananoRep = 'default_banano_representative';
|
2023-11-03 19:23:11 +00:00
|
|
|
static const lookupsTwitter = 'looks_up_twitter';
|
|
|
|
static const lookupsMastodon = 'looks_up_mastodon';
|
|
|
|
static const lookupsYatService = 'looks_up_mastodon';
|
|
|
|
static const lookupsUnstoppableDomains = 'looks_up_mastodon';
|
|
|
|
static const lookupsOpenAlias = 'looks_up_mastodon';
|
|
|
|
static const lookupsENS = 'looks_up_ens';
|
2023-04-17 18:06:58 +00:00
|
|
|
|
2023-08-04 13:49:26 +00:00
|
|
|
static String moneroWalletUpdateV1Key(String name) =>
|
|
|
|
'${PreferencesKey.moneroWalletPasswordUpdateV1Base}_${name}';
|
2022-09-01 14:12:38 +00:00
|
|
|
|
|
|
|
static const exchangeProvidersSelection = 'exchange-providers-selection';
|
2023-08-29 16:11:51 +00:00
|
|
|
static const autoGenerateSubaddressStatusKey = 'auto_generate_subaddress_status';
|
2023-11-25 00:37:12 +00:00
|
|
|
static const moneroSeedType = 'monero_seed_type';
|
2023-08-04 13:49:26 +00:00
|
|
|
static const clearnetDonationLink = 'clearnet_donation_link';
|
2023-04-21 15:21:31 +00:00
|
|
|
static const onionDonationLink = 'onion_donation_link';
|
|
|
|
static const lastSeenAppVersion = 'last_seen_app_version';
|
2023-10-03 14:56:10 +00:00
|
|
|
static const shouldShowMarketPlaceInDashboard = 'should_show_marketplace_in_dashboard';
|
2023-04-21 15:21:31 +00:00
|
|
|
static const isNewInstall = 'is_new_install';
|
2023-08-04 13:49:26 +00:00
|
|
|
static const shouldRequireTOTP2FAForAccessingWallet =
|
|
|
|
'should_require_totp_2fa_for_accessing_wallets';
|
|
|
|
static const shouldRequireTOTP2FAForSendsToContact =
|
|
|
|
'should_require_totp_2fa_for_sends_to_contact';
|
|
|
|
static const shouldRequireTOTP2FAForSendsToNonContact =
|
|
|
|
'should_require_totp_2fa_for_sends_to_non_contact';
|
|
|
|
static const shouldRequireTOTP2FAForSendsToInternalWallets =
|
|
|
|
'should_require_totp_2fa_for_sends_to_internal_wallets';
|
|
|
|
static const shouldRequireTOTP2FAForExchangesToInternalWallets =
|
|
|
|
'should_require_totp_2fa_for_exchanges_to_internal_wallets';
|
2023-11-02 18:17:52 +00:00
|
|
|
static const shouldRequireTOTP2FAForExchangesToExternalWallets =
|
|
|
|
'should_require_totp_2fa_for_exchanges_to_external_wallets';
|
2023-08-04 13:49:26 +00:00
|
|
|
static const shouldRequireTOTP2FAForAddingContacts =
|
|
|
|
'should_require_totp_2fa_for_adding_contacts';
|
|
|
|
static const shouldRequireTOTP2FAForCreatingNewWallets =
|
|
|
|
'should_require_totp_2fa_for_creating_new_wallets';
|
|
|
|
static const shouldRequireTOTP2FAForAllSecurityAndBackupSettings =
|
|
|
|
'should_require_totp_2fa_for_all_security_and_backup_settings';
|
|
|
|
static const selectedCake2FAPreset = 'selected_cake_2fa_preset';
|
2023-09-28 18:40:15 +00:00
|
|
|
static const totpSecretKey = 'totp_secret_key';
|
2023-11-17 13:45:42 +00:00
|
|
|
static const currentSeedPhraseLength = 'current_seed_phrase_length';
|
2021-05-07 07:36:38 +00:00
|
|
|
}
|