Fix app mode selection in top widget
This commit is contained in:
parent
c7e764239b
commit
72f846ca75
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ public class MapInfoLayer extends OsmandMapLayer {
|
||||||
View confirmDialog = view.inflate(view.getContext(), R.layout.configuration_dialog, null);
|
View confirmDialog = view.inflate(view.getContext(), R.layout.configuration_dialog, null);
|
||||||
final ListView lv = (ListView) confirmDialog.findViewById(android.R.id.list);
|
final ListView lv = (ListView) confirmDialog.findViewById(android.R.id.list);
|
||||||
NavigateAction.prepareAppModeView(map, selected, true,
|
NavigateAction.prepareAppModeView(map, selected, true,
|
||||||
(ViewGroup) confirmDialog.findViewById(R.id.TopBar), false,
|
(ViewGroup) confirmDialog.findViewById(R.id.TopBar), true,
|
||||||
new View.OnClickListener() {
|
new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
|
|
Loading…
Reference in a new issue