mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-12 14:21:01 +00:00
Add new ledger app settings (#796)
* Add ledger app settings * Add ledgerApp * Add to setting struct * add available ledger apps * fix info
This commit is contained in:
@@ -5,7 +5,7 @@ import type { Option } from '../types.js';
|
||||
|
||||
export { CRYPTOS, CRYPTOS_ETH, CRYPTOS_LEDGER } from './crypto.js';
|
||||
export { ENDPOINT_DEFAULT, ENDPOINTS } from './endpoints.js';
|
||||
export { LEDGER_CONN, LEDGER_CONN_DEFAULT } from './ledger.js';
|
||||
export { LEDGER_APP, LEDGER_APP_DEFAULT, LEDGER_CONN, LEDGER_CONN_DEFAULT } from './ledger.js';
|
||||
export { PREFIX_DEFAULT, PREFIXES } from './ss58.js';
|
||||
export { ICON_DEFAULT, ICON_DEFAULT_HOST, ICONS, NOTIFICATION_DEFAULT, UIMODE_DEFAULT, UIMODES, UITHEME_DEFAULT, UITHEMES } from './ui.js';
|
||||
|
||||
|
||||
@@ -28,3 +28,23 @@ export const LEDGER_CONN: Option[] = [
|
||||
value: 'hid'
|
||||
}
|
||||
];
|
||||
|
||||
export const LEDGER_APP_DEFAULT = 'generic';
|
||||
|
||||
export const LEDGER_APP: Option[] = [
|
||||
{
|
||||
info: 'generic',
|
||||
text: 'Use the Ledger Polkadot Generic App',
|
||||
value: 'generic'
|
||||
},
|
||||
{
|
||||
info: 'migration',
|
||||
text: 'Use the Ledger Migration App',
|
||||
value: 'migration'
|
||||
},
|
||||
{
|
||||
info: 'legacy',
|
||||
text: 'Use the Ledger Legacy App',
|
||||
value: 'legacy'
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user