mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
corrected
This commit is contained in:
parent
e01ecb20fa
commit
0827cdc64a
1 changed files with 2 additions and 4 deletions
|
|
@ -650,10 +650,8 @@ class MediaDetailFragment : CommonsDaggerSupportFragment(), CategoryEditHelper.C
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun onDepictionsLoaded(idAndCaptions: List<IdAndCaptions>) {
|
private fun onDepictionsLoaded(idAndCaptions: List<IdAndCaptions>) {
|
||||||
binding.depictsLayout.visibility =
|
binding.depictsLayout.visibility = View.VISIBLE
|
||||||
if (idAndCaptions.isEmpty()) View.GONE else View.VISIBLE
|
binding.depictionsEditButton.visibility = View.VISIBLE
|
||||||
binding.depictionsEditButton.visibility =
|
|
||||||
if (idAndCaptions.isEmpty()) View.GONE else View.VISIBLE
|
|
||||||
buildDepictionList(idAndCaptions)
|
buildDepictionList(idAndCaptions)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue