Temporarily disable adding selected village to City list to see if this fixes an issue
This commit is contained in:
parent
31c7edc00b
commit
ce2300b54e
1 changed files with 4 additions and 3 deletions
|
@ -173,9 +173,10 @@ public class SearchCityByNameActivity extends SearchByNameAbstractActivity<City>
|
|||
@Override
|
||||
public void itemSelected(City obj) {
|
||||
settings.setLastSearchedCity(obj.getId(), obj.getName(region.useEnglishNames()), obj.getLocation());
|
||||
if (region.getCityById(obj.getId(), obj.getName(region.useEnglishNames())) == null) {
|
||||
region.addCityToPreloadedList((City) obj);
|
||||
}
|
||||
//Temporarily disable this to see if it fixes an issue
|
||||
// if (region.getCityById(obj.getId(), obj.getName(region.useEnglishNames())) == null) {
|
||||
// region.addCityToPreloadedList((City) obj);
|
||||
// }
|
||||
quitActivity(SearchStreetByNameActivity.class);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue