mirror of https://github.com/readrops/Readrops.git
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) {
|
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
|
} else
|
||||||
onBindViewHolder(holder, position);
|
onBindViewHolder(holder, position);
|
||||||
|
|
Loading…
Reference in New Issue