Selaa lähdekoodia

Show bdsmail address as a QR code

Bob Mottram 7 vuotta sitten
vanhempi
commit
8f6c364229
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6
    0
      src/freedombone-controlpanel-user

+ 6
- 0
src/freedombone-controlpanel-user Näytä tiedosto

@@ -894,6 +894,12 @@ function show_your_email_address {
894 894
         dialog --title $"Show your Email Address" \
895 895
                --backtitle $"Freedombone User Control Panel" \
896 896
                --msgbox $"\nYou can press SHIFT and then drag the mouse and right click to copy.\n\nEmail Address: $MY_EMAIL_ADDRESS\n\nKey ID: $GPG_ID\n\nFingerprint: $GPG_FINGERPRINT\n\nCreated: $GPG_DATE\n\nI2P Address: ${bdsmail_address}" 17 90
897
+        clear
898
+        echo ''
899
+        echo $'Your bdsmail address as a QR code'
900
+        echo ''
901
+        echo -n "${bdsmail_address}" | qrencode -t UTF8
902
+        any_key
897 903
     fi
898 904
 }
899 905