mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
DepictsFragment: add null check for media (#5488)
This commit is contained in:
parent
84ffffbbe7
commit
9f7e407181
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ public class DepictsFragment extends UploadBaseFragment implements DepictsContra
|
|||
nearbyPlace = bundle.getParcelable(SELECTED_NEARBY_PLACE);
|
||||
}
|
||||
|
||||
if(callback!=null){
|
||||
if(callback!=null || media!=null){
|
||||
init();
|
||||
presenter.getDepictedItems().observe(getViewLifecycleOwner(), this::setDepictsList);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue