Show QR codes separately so that it looks better on small netbook-like screens
This commit is contained in:
parent
801e14529d
commit
0615969c87
|
@ -875,25 +875,22 @@ function show_your_email_address {
|
||||||
--backtitle $"Freedombone User Control Panel" \
|
--backtitle $"Freedombone User Control Panel" \
|
||||||
--msgbox "${msgstrbase}${bdsmailstr}" $dialog_height 100
|
--msgbox "${msgstrbase}${bdsmailstr}" $dialog_height 100
|
||||||
|
|
||||||
clear
|
|
||||||
qr_code_shown=
|
|
||||||
if [ "$onion_domain" ]; then
|
if [ "$onion_domain" ]; then
|
||||||
|
clear
|
||||||
echo ''
|
echo ''
|
||||||
echo $'Your onion email address:'
|
echo $'Your onion email address:'
|
||||||
echo ''
|
echo ''
|
||||||
echo -n "${USER}@${onion_domain}" | qrencode -t UTF8
|
echo -n "${USER}@${onion_domain}" | qrencode -t UTF8
|
||||||
echo ''
|
echo ''
|
||||||
qr_code_shown=1
|
any_key
|
||||||
fi
|
fi
|
||||||
if [ "${bdsmail_address}" ]; then
|
if [ "${bdsmail_address}" ]; then
|
||||||
|
clear
|
||||||
echo ''
|
echo ''
|
||||||
echo $'Your bdsmail address:'
|
echo $'Your bdsmail address:'
|
||||||
echo ''
|
echo ''
|
||||||
echo -n "${bdsmail_address}" | qrencode -t UTF8
|
echo -n "${bdsmail_address}" | qrencode -t UTF8
|
||||||
echo ''
|
echo ''
|
||||||
qr_code_shown=1
|
|
||||||
fi
|
|
||||||
if [ $qr_code_shown ]; then
|
|
||||||
any_key
|
any_key
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue