Skip to content

Commit 8e4d2c8

Browse files
committed
Fix title/desc not getting filled for nearby picture
1 parent a63a358 commit 8e4d2c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/src/main/java/fr/free/nrw/commons/upload/mediaDetails/UploadMediaDetailFragment.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,16 +301,16 @@ public void onNearbyPlaceFound(UploadItem uploadItem, Place place) {
301301
String.format(Locale.getDefault(),
302302
getString(R.string.upload_nearby_place_found_description),
303303
place.getName()),
304-
() -> {
305-
306-
},
307304
() -> {
308305
etTitle.setText(place.getName());
309306
Description description = new Description();
310307
description.setLanguageCode("en");
311308
description.setDescriptionText(place.getLongDescription());
312309
descriptions = Arrays.asList(description);
313310
setDescriptionsInAdapter(descriptions);
311+
},
312+
() -> {
313+
314314
});
315315
}
316316

0 commit comments

Comments
 (0)