From 34d577755e95caa321717db18dfab595d16dd35c Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 13 Feb 2023 16:06:10 +0100 Subject: [PATCH] Small display fix --- app/src/main/java/eu/faircode/email/FragmentQuickSetup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentQuickSetup.java b/app/src/main/java/eu/faircode/email/FragmentQuickSetup.java index a9285c9048..5b7e3fb997 100644 --- a/app/src/main/java/eu/faircode/email/FragmentQuickSetup.java +++ b/app/src/main/java/eu/faircode/email/FragmentQuickSetup.java @@ -709,7 +709,7 @@ public class FragmentQuickSetup extends FragmentBase { if (provider != null && provider.imap != null && provider.smtp != null) { - tvUser.setText("-"); + tvUser.setText(TextUtils.isEmpty(provider.username) ? "-" : provider.username); tvImap.setText(provider.imap.toString()); tvSmtp.setText(provider.smtp.toString()); grpSetup.setVisibility(View.VISIBLE);