Fix #2628
This commit is contained in:
parent
7f98d5a708
commit
b08b747e37
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ public class OsmEditsUploadListenerHelper implements OsmEditsUploadListener {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void showUploadItemsProgressDialog(Fragment fragment, OsmPoint[] toUpload) {
|
private static void showUploadItemsProgressDialog(Fragment fragment, OsmPoint[] toUpload) {
|
||||||
MapActivity activity = (MapActivity) fragment.getActivity();
|
FragmentActivity activity = fragment.getActivity();
|
||||||
OsmEditingPlugin plugin = OsmandPlugin.getEnabledPlugin(OsmEditingPlugin.class);
|
OsmEditingPlugin plugin = OsmandPlugin.getEnabledPlugin(OsmEditingPlugin.class);
|
||||||
OsmEditsUploadListenerHelper helper = new OsmEditsUploadListenerHelper(activity,
|
OsmEditsUploadListenerHelper helper = new OsmEditsUploadListenerHelper(activity,
|
||||||
activity.getResources().getString(R.string.local_openstreetmap_were_uploaded));
|
activity.getResources().getString(R.string.local_openstreetmap_were_uploaded));
|
||||||
|
|
Loading…
Reference in a new issue