Refactoring

This commit is contained in:
M66B
2020-06-06 10:02:11 +02:00
parent 0352d69e84
commit ca904aa03b
8 changed files with 26 additions and 26 deletions

View File

@@ -95,10 +95,10 @@ public class AdapterNavUnified extends RecyclerView.Adapter<AdapterNavUnified.Vi
count = folder.unseen;
if (count == 0)
tvItem.setText(Helper.localizeFolderType(context, folder.type));
tvItem.setText(EntityFolder.localizeType(context, folder.type));
else
tvItem.setText(context.getString(R.string.title_name_count,
Helper.localizeFolderType(context, folder.type), NF.format(count)));
EntityFolder.localizeType(context, folder.type), NF.format(count)));
tvItem.setTextColor(count == 0 ? textColorSecondary : colorUnread);
tvItem.setTypeface(count == 0 ? Typeface.DEFAULT : Typeface.DEFAULT_BOLD);