Fix World for reports/subscription

This commit is contained in:
Alexey Kulish 2016-01-27 23:42:07 +03:00
parent 545d514f10
commit a86e14e5d1

View file

@ -143,9 +143,13 @@ public class CountrySelectionFragment extends BaseOsmAndDialogFragment {
});
for (WorldRegion group : groups) {
String name = getHumanReadableName(group);
if (group == root) {
countryItems.add(new CountryItem(name, ""));
} else {
countryItems.add(new CountryItem(name, group.getRegionDownloadName()));
}
}
}
private static void processGroup(WorldRegion group,
List<WorldRegion> nameList) {