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';
|
2020-09-21 11:50:26 +00:00
|
|
|
static const currentFiatCurrencyKey = 'current_fiat_currency';
|
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';
|
|
|
|
static const allowBiometricalAuthenticationKey =
|
|
|
|
'allow_biometrical_authentication';
|
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';
|
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';
|
|
|
|
|
|
|
|
static String moneroWalletUpdateV1Key(String name)
|
|
|
|
=> '${PreferencesKey.moneroWalletPasswordUpdateV1Base}_${name}';
|
2021-05-07 07:36:38 +00:00
|
|
|
}
|