Procházet zdrojové kódy

Show QR codes separately so that it looks better on small netbook-like screens

Bob Mottram před 7 roky
rodič
revize
0615969c87
1 změnil soubory, kde provedl 3 přidání a 6 odebrání
  1. 3
    6
      src/freedombone-controlpanel-user

+ 3
- 6
src/freedombone-controlpanel-user Zobrazit soubor

875
            --backtitle $"Freedombone User Control Panel" \
875
            --backtitle $"Freedombone User Control Panel" \
876
            --msgbox "${msgstrbase}${bdsmailstr}" $dialog_height 100
876
            --msgbox "${msgstrbase}${bdsmailstr}" $dialog_height 100
877
 
877
 
878
-    clear
879
-    qr_code_shown=
880
     if [ "$onion_domain" ]; then
878
     if [ "$onion_domain" ]; then
879
+        clear
881
         echo ''
880
         echo ''
882
         echo $'Your onion email address:'
881
         echo $'Your onion email address:'
883
         echo ''
882
         echo ''
884
         echo -n "${USER}@${onion_domain}" | qrencode -t UTF8
883
         echo -n "${USER}@${onion_domain}" | qrencode -t UTF8
885
         echo ''
884
         echo ''
886
-        qr_code_shown=1
885
+        any_key
887
     fi
886
     fi
888
     if [ "${bdsmail_address}" ]; then
887
     if [ "${bdsmail_address}" ]; then
888
+        clear
889
         echo ''
889
         echo ''
890
         echo $'Your bdsmail address:'
890
         echo $'Your bdsmail address:'
891
         echo ''
891
         echo ''
892
         echo -n "${bdsmail_address}" | qrencode -t UTF8
892
         echo -n "${bdsmail_address}" | qrencode -t UTF8
893
         echo ''
893
         echo ''
894
-        qr_code_shown=1
895
-    fi
896
-    if [ $qr_code_shown ]; then
897
         any_key
894
         any_key
898
     fi
895
     fi
899
 }
896
 }