This commit is contained in:
GaidamakUA 2016-06-03 10:58:06 +03:00
parent 7f98d5a708
commit b08b747e37

View file

@ -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));