Fix review
This commit is contained in:
parent
08a4fb229f
commit
4d866d3c8f
1 changed files with 1 additions and 1 deletions
|
@ -550,7 +550,7 @@ public class MeasurementToolFragment extends BaseOsmAndFragment {
|
|||
private MapActivity getMapActivity() {
|
||||
Activity activity = getActivity();
|
||||
if (activity instanceof MapActivity && !activity.isFinishing()) {
|
||||
return (MapActivity) getActivity();
|
||||
return (MapActivity) activity;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue