Bob Mottram 7 年之前
父節點
當前提交
206a87ca59
共有 1 個檔案被更改,包括 3 行新增9 行删除
  1. 3
    9
      src/freedombone-controlpanel-user

+ 3
- 9
src/freedombone-controlpanel-user 查看文件

@@ -862,15 +862,9 @@ function show_your_email_address {
862 862
         msgstr=$"Email Address: $MY_EMAIL_ADDRESS\\n\\nKey ID: $GPG_ID\\n\\nFingerprint: $GPG_FINGERPRINT\\n\\nCreated: $GPG_DATE"
863 863
     fi
864 864
     if [ ! -f ~/.mutt/bdsmail ]; then
865
-        if [[ "$HOSTNAME" != *'.onion' ]]; then
866
-            dialog --title $"Show your Email Address" \
867
-                   --backtitle $"Freedombone User Control Panel" \
868
-                   --msgbox "$msgstr" 14 100
869
-        else
870
-            dialog --title $"Show your Email Address" \
871
-                   --backtitle $"Freedombone User Control Panel" \
872
-                   --msgbox "$msgstr" 12 100
873
-        fi
865
+        dialog --title $"Show your Email Address" \
866
+               --backtitle $"Freedombone User Control Panel" \
867
+               --msgbox "$msgstr" 14 100
874 868
     else
875 869
         bdsmail_address=$(grep 'set from=' ~/.mutt/bdsmail | awk -F '=' '{print $2}')
876 870
         dialog --title $"Show your Email Address" \