mirror of
https://github.com/readrops/Readrops.git
synced 2024-12-27 09:02:32 +01:00
Display the correct wording int the feed layout for the default folder
This commit is contained in:
parent
5df6e1ed27
commit
b1631e9d0d
@ -120,7 +120,10 @@ public class FeedsAdapter extends ListAdapter<FeedWithFolder, FeedsAdapter.ViewH
|
||||
}
|
||||
|
||||
if (bundle.getString(FOLDER_NAME_KEY) != null) {
|
||||
holder.folderName.setText(bundle.getString(FOLDER_NAME_KEY));
|
||||
if (getItem(position).getFolder().getId() != 1)
|
||||
holder.folderName.setText(bundle.getString(FOLDER_NAME_KEY));
|
||||
else
|
||||
holder.folderName.setText(holder.itemView.getContext().getString(R.string.no_folder));
|
||||
}
|
||||
} else
|
||||
onBindViewHolder(holder, position);
|
||||
|
Loading…
Reference in New Issue
Block a user