From 206a87ca59d7cac92ce2b85c2624977a5ea7c040 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Sat, 7 Apr 2018 11:06:12 +0100
Subject: [PATCH] Tidying

---
 src/freedombone-controlpanel-user | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/src/freedombone-controlpanel-user b/src/freedombone-controlpanel-user
index c6776b9fd..2052997e2 100755
--- a/src/freedombone-controlpanel-user
+++ b/src/freedombone-controlpanel-user
@@ -862,15 +862,9 @@ function show_your_email_address {
         msgstr=$"Email Address: $MY_EMAIL_ADDRESS\\n\\nKey ID: $GPG_ID\\n\\nFingerprint: $GPG_FINGERPRINT\\n\\nCreated: $GPG_DATE"
     fi
     if [ ! -f ~/.mutt/bdsmail ]; then
-        if [[ "$HOSTNAME" != *'.onion' ]]; then
-            dialog --title $"Show your Email Address" \
-                   --backtitle $"Freedombone User Control Panel" \
-                   --msgbox "$msgstr" 14 100
-        else
-            dialog --title $"Show your Email Address" \
-                   --backtitle $"Freedombone User Control Panel" \
-                   --msgbox "$msgstr" 12 100
-        fi
+        dialog --title $"Show your Email Address" \
+               --backtitle $"Freedombone User Control Panel" \
+               --msgbox "$msgstr" 14 100
     else
         bdsmail_address=$(grep 'set from=' ~/.mutt/bdsmail | awk -F '=' '{print $2}')
         dialog --title $"Show your Email Address" \
-- 
GitLab