[Quick search] remove topbar for objects with location
This commit is contained in:
parent
0851f26e0c
commit
d1a72e874f
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ public class QuickSearchDialogFragment extends DialogFragment implements OsmAndC
|
|||
searchResult.location.getLatitude(), searchResult.location.getLongitude(),
|
||||
searchResult.preferredZoom, pointDescription, true, searchResult.object);
|
||||
|
||||
if (searchResult.object != null && searchResult.object instanceof City) {
|
||||
if (searchResult.object != null && searchResult.location != null) {
|
||||
hideToolbar();
|
||||
} else {
|
||||
showToolbar();
|
||||
|
|
Loading…
Reference in a new issue