mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
implementing
This commit is contained in:
parent
8ec08acc32
commit
d1f08c6cd5
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue