FinalDialog: make the 24 words fit

This commit is contained in:
openoms
2021-07-21 23:37:26 +01:00
parent 6bb0c12308
commit db24ad1d57

View File

@@ -12,15 +12,16 @@ source ${SETUPFILE}
############################################
# SHOW SEED WORDS AFTER SETUP
if [ "${lightning}" == "lnd" ]; then
walletName="LND Wallet"
walletName="LND"
elif [ "${lightning}" == "cln" ]; then
walletName="C-lightning Wallet"
walletName="C-lightning"
fi
if [ "${setupPhase}" == "setup" ] && [ "${seedwords6x4NEW}" != "" ]; then
ack=0
while [ ${ack} -eq 0 ]
do
whiptail --title "IMPORTANT SEED WORDS - PLEASE WRITE DOWN" --msgbox "${walletName} got created. Store these numbered words in a safe location:\n\n${seedwords6x4NEW}" 12 76
whiptail --title "IMPORTANT SEED WORDS - PLEASE WRITE DOWN" \
--msgbox "Created the ${walletName} wallet.\nStore these numbered words in a safe location:\n\n${seedwords6x4NEW}" 13 76
whiptail --title "Please Confirm" --yes-button "Show Again" --no-button "CONTINUE" --yesno " Are you sure that you wrote down the word list?" 8 55
if [ $? -eq 1 ]; then
ack=1