mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +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>) {
|
||||
binding.depictsLayout.visibility =
|
||||
if (idAndCaptions.isEmpty()) View.GONE else View.VISIBLE
|
||||
binding.depictionsEditButton.visibility =
|
||||
if (idAndCaptions.isEmpty()) View.GONE else View.VISIBLE
|
||||
binding.depictsLayout.visibility = View.VISIBLE
|
||||
binding.depictionsEditButton.visibility = View.VISIBLE
|
||||
buildDepictionList(idAndCaptions)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue