Fix dialog
This commit is contained in:
parent
903d2316a7
commit
3b80b6f6a4
1 changed files with 1 additions and 3 deletions
|
@ -382,12 +382,10 @@ public class QuickSearchDialogFragment extends DialogFragment implements OsmAndC
|
|||
}
|
||||
|
||||
private void setupSearch(final MapActivity mapActivity) {
|
||||
|
||||
final OsmandApplication app = mapActivity.getMyApplication();
|
||||
|
||||
// Setup search core
|
||||
String locale = app.getSettings().MAP_PREFERRED_LOCALE.get();
|
||||
searchUICore = app.getSearchUICore();
|
||||
searchUICore = app.getSearchUICore().getCore();
|
||||
searchUICore.resetPhrase();
|
||||
|
||||
location = app.getLocationProvider().getLastKnownLocation();
|
||||
|
|
Loading…
Reference in a new issue