forked from organicmaps/organicmaps
[android] Fix crash in CountrySuggestFragment
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
This commit is contained in:
parent
a2b0167f45
commit
74f8006057
1 changed files with 2 additions and 2 deletions
|
@ -12,9 +12,9 @@ import android.widget.TextView;
|
|||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.mapswithme.maps.MwmActivity;
|
||||
import com.mapswithme.maps.R;
|
||||
import com.mapswithme.maps.base.BaseMwmFragment;
|
||||
import com.mapswithme.maps.base.BaseMwmFragmentActivity;
|
||||
import com.mapswithme.maps.location.LocationHelper;
|
||||
import com.mapswithme.maps.widget.WheelProgressView;
|
||||
import com.mapswithme.util.StringUtils;
|
||||
|
@ -215,7 +215,7 @@ public class CountrySuggestFragment extends BaseMwmFragment implements View.OnCl
|
|||
break;
|
||||
|
||||
case R.id.btn__select_map:
|
||||
MwmActivity activity = Utils.castTo(getActivity());
|
||||
BaseMwmFragmentActivity activity = Utils.castTo(getActivity());
|
||||
activity.replaceFragment(DownloaderFragment.class, null, null);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue