implementing

This commit is contained in:
Sujal-Gupta-SG 2025-02-15 10:39:56 +05:30
parent 8ec08acc32
commit d1f08c6cd5

View file

@ -2275,7 +2275,7 @@ class NearbyParentFragment : CommonsDaggerSupportFragment(), NearbyParentFragmen
selectedPlace?.pic?.substringAfterLast("/")?.takeIf { it.isNotEmpty() }?.let { imageName ->
Glide.with(binding!!.bottomSheetDetails.icon.context)
.load("https://commons.wikimedia.org/wiki/Special:Redirect/file/$imageName?width=20")
.load("https://commons.wikimedia.org/wiki/Special:Redirect/file/$imageName?width=30")
.placeholder(fr.free.nrw.commons.R.drawable.ic_refresh_24dp_nearby)
.error(selectedPlace!!.label.icon)
.into(binding!!.bottomSheetDetails.icon)