From f84d217715517770add032bfe3e6a1fbbf6f6f8a Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 27 Dec 2018 17:35:41 +0000 Subject: [PATCH] Show empty folder names --- app/src/main/java/eu/faircode/email/FragmentAccount.java | 2 +- app/src/main/java/eu/faircode/email/FragmentIdentity.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentAccount.java b/app/src/main/java/eu/faircode/email/FragmentAccount.java index e23765cf26..84d18d9c55 100644 --- a/app/src/main/java/eu/faircode/email/FragmentAccount.java +++ b/app/src/main/java/eu/faircode/email/FragmentAccount.java @@ -1192,7 +1192,7 @@ public class FragmentAccount extends FragmentEx { EntityFolder.sort(getContext(), folders); EntityFolder none = new EntityFolder(); - none.name = ""; + none.name = "-"; folders.add(0, none); adapter.clear(); diff --git a/app/src/main/java/eu/faircode/email/FragmentIdentity.java b/app/src/main/java/eu/faircode/email/FragmentIdentity.java index e6ea1e3fac..fec8df3bac 100644 --- a/app/src/main/java/eu/faircode/email/FragmentIdentity.java +++ b/app/src/main/java/eu/faircode/email/FragmentIdentity.java @@ -46,7 +46,6 @@ import android.widget.ImageButton; import android.widget.ImageView; import android.widget.ScrollView; import android.widget.Spinner; -import android.widget.TextView; import com.android.colorpicker.ColorPickerDialog; import com.android.colorpicker.ColorPickerSwatch; @@ -877,7 +876,7 @@ public class FragmentIdentity extends FragmentEx { @Override protected void onLoaded(Bundle args, IdentityFolders result) { EntityFolder none = new EntityFolder(); - none.name = ""; + none.name = "-"; result.folders.add(0, none); adapter.clear();