Fix
This commit is contained in:
parent
1ac2e4b371
commit
a43a077111
1 changed files with 3 additions and 0 deletions
|
@ -72,6 +72,9 @@ public class GoToMapFragment extends DialogFragment {
|
||||||
closeImageButton.setOnClickListener(new View.OnClickListener() {
|
closeImageButton.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
|
if(getActivity() instanceof DownloadActivity) {
|
||||||
|
((DownloadActivity) getActivity()).setDownloadItem(null);
|
||||||
|
}
|
||||||
dismiss();
|
dismiss();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue