Commit 4a0d39d
NearbyParentFragmentPresenter.kt: set Sitelinks for Nearby Places to Sitelinks from local data (#6562)
Before this change, when information about a Place was retrieved from the local Place
repository, the Sitelink object was not set into the new Place object. This would
cause the Sitelink icons to be missing from the user interface for some Places.
This change now sets the Sitelinks object to the locally retrieved Place's Sitelinks.
These sitelinks now appear in the user interface if they are stored locally.
Co-authored-by: Nicolas Raoul <[email protected]>1 parent 1c8d1f8 commit 4a0d39d
File tree
1 file changed
+1
-0
lines changed- app/src/main/java/fr/free/nrw/commons/nearby/presenter
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| 355 | + | |
355 | 356 | | |
356 | 357 | | |
357 | 358 | | |
| |||
0 commit comments