소스 검색

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

Bob Mottram 7 년 전
부모
커밋
0615969c87
1개의 변경된 파일3개의 추가작업 그리고 6개의 파일을 삭제
  1. 3
    6
      src/freedombone-controlpanel-user

+ 3
- 6
src/freedombone-controlpanel-user 파일 보기

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
 }