mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 04:13:53 +01:00
I didn’t look at the code carefully before and directly modified the contents of strings.xml. After reviewing it, I found that the issue was actually in WikidataItemDetailsActivity.kt, where the wrong label was selected. After correcting this, there should no longer be any problems. (#6524)
Co-authored-by: frank <u7896083@anu.edu.au>
This commit is contained in:
parent
714e5f8a4b
commit
b5b5d8a8e4
1 changed files with 2 additions and 2 deletions
|
|
@ -112,8 +112,8 @@ class WikidataItemDetailsActivity : BaseActivity(), MediaDetailProvider, Categor
|
|||
|
||||
viewPagerAdapter!!.setTabs(
|
||||
R.string.title_for_media to depictionImagesListFragment!!,
|
||||
R.string.title_for_subcategories to childDepictionsFragment,
|
||||
R.string.title_for_parent_categories to parentDepictionsFragment
|
||||
R.string.title_for_child_classes to childDepictionsFragment,
|
||||
R.string.title_for_parent_classes to parentDepictionsFragment
|
||||
)
|
||||
binding!!.viewPager.offscreenPageLimit = 2
|
||||
viewPagerAdapter!!.notifyDataSetChanged()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue