Dynamically configure inbox

This commit is contained in:
M66B
2019-02-02 07:28:14 +00:00
parent 8bef85df9e
commit c023af093c
7 changed files with 48 additions and 28 deletions

View File

@@ -254,7 +254,7 @@ public class Helper {
}
static String localizeFolderName(Context context, String name) {
if ("INBOX".equals(name))
if (name != null && "INBOX".equals(name.toUpperCase()))
return context.getString(R.string.title_folder_inbox);
else if ("OUTBOX".equals(name))
return context.getString(R.string.title_folder_outbox);