mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +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.
This commit is contained in:
parent
714e5f8a4b
commit
5550b08a5d
1 changed files with 2 additions and 2 deletions
|
|
@ -112,8 +112,8 @@ class WikidataItemDetailsActivity : BaseActivity(), MediaDetailProvider, Categor
|
||||||
|
|
||||||
viewPagerAdapter!!.setTabs(
|
viewPagerAdapter!!.setTabs(
|
||||||
R.string.title_for_media to depictionImagesListFragment!!,
|
R.string.title_for_media to depictionImagesListFragment!!,
|
||||||
R.string.title_for_subcategories to childDepictionsFragment,
|
R.string.title_for_child_classes to childDepictionsFragment,
|
||||||
R.string.title_for_parent_categories to parentDepictionsFragment
|
R.string.title_for_parent_classes to parentDepictionsFragment
|
||||||
)
|
)
|
||||||
binding!!.viewPager.offscreenPageLimit = 2
|
binding!!.viewPager.offscreenPageLimit = 2
|
||||||
viewPagerAdapter!!.notifyDataSetChanged()
|
viewPagerAdapter!!.notifyDataSetChanged()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue