This commit is contained in:
Victor Shcherb 2015-11-01 14:53:47 +01:00
parent 1ac2e4b371
commit a43a077111

View file

@ -72,6 +72,9 @@ public class GoToMapFragment extends DialogFragment {
closeImageButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
if(getActivity() instanceof DownloadActivity) {
((DownloadActivity) getActivity()).setDownloadItem(null);
}
dismiss();
}
});