Gaëtan Renaudeau
7 years ago
4 changed files with 26 additions and 8 deletions
@ -0,0 +1,10 @@ |
|||||
|
// @flow
|
||||
|
import type { CryptoCurrency } from '@ledgerhq/live-common/lib/types' |
||||
|
|
||||
|
export const getAccountPlaceholderName = ( |
||||
|
c: CryptoCurrency, |
||||
|
index: number, |
||||
|
isLegacy: boolean = false, |
||||
|
) => `${c.name} ${index}${isLegacy ? ' (legacy)' : ''}` |
||||
|
|
||||
|
export const getNewAccountPlaceholderName = (_c: CryptoCurrency, _index: number) => `New Account` |
Loading…
Reference in new issue