Merge pull request #3234 from BlueWallet/Cannot-read-seed-words-for-vault-key---mostly-blank-#3232-

FIX:  Cannot read seed words for vault key - mostly blank #3232
This commit is contained in:
GLaDOS 2021-05-31 18:11:20 +01:00 committed by GitHub
commit 26f557c4af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -519,17 +519,21 @@ const WalletsAddMultisigStep2 = () => {
const entriesObject = entries.entries();
for (const [index, secret] of entriesObject) {
if (entries.length > 1) {
const text = `${index + 1}. ${secret} `;
component.push(
<View style={[styles.word, stylesHook.word]} key={`${secret}${index}`}>
<Text style={[styles.wordText, stylesHook.wordText]}>
{index + 1}. {secret}
<Text style={[styles.wordText, stylesHook.wordText]} textBreakStrategy="simple">
{text}
</Text>
</View>,
);
} else {
const text = `${secret} `;
component.push(
<View style={[styles.word, stylesHook.word]} key={`${secret}${index}`}>
<Text style={[styles.wordText, stylesHook.wordText]}>{secret}</Text>
<Text style={[styles.wordText, stylesHook.wordText]} textBreakStrategy="simple">
{text}
</Text>
</View>,
);
}