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
|
@Override
|
||||||
public void itemSelected(City obj) {
|
public void itemSelected(City obj) {
|
||||||
settings.setLastSearchedCity(obj.getId(), obj.getName(region.useEnglishNames()), obj.getLocation());
|
settings.setLastSearchedCity(obj.getId(), obj.getName(region.useEnglishNames()), obj.getLocation());
|
||||||
if (region.getCityById(obj.getId(), obj.getName(region.useEnglishNames())) == null) {
|
//Temporarily disable this to see if it fixes an issue
|
||||||
region.addCityToPreloadedList((City) obj);
|
// if (region.getCityById(obj.getId(), obj.getName(region.useEnglishNames())) == null) {
|
||||||
}
|
// region.addCityToPreloadedList((City) obj);
|
||||||
|
// }
|
||||||
quitActivity(SearchStreetByNameActivity.class);
|
quitActivity(SearchStreetByNameActivity.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue