mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 06:52:41 +01:00
Update DevMenu.tsx
This commit is contained in:
parent
0b540c0197
commit
26cdc98614
1 changed files with 3 additions and 2 deletions
|
@ -8,8 +8,9 @@ import { TWallet } from '../class/wallets/types';
|
|||
|
||||
const getRandomLabelFromSecret = (secret: string): string => {
|
||||
const words = secret.split(' ');
|
||||
const randomWord = words[Math.floor(Math.random() * words.length)];
|
||||
return `[Developer] ${randomWord}`;
|
||||
const firstWord = words[0];
|
||||
const lastWord = words[words.length - 1];
|
||||
return `[Developer] ${firstWord} ${lastWord}`;
|
||||
};
|
||||
|
||||
const showAlertWithWalletOptions = (
|
||||
|
|
Loading…
Add table
Reference in a new issue