add pref variable
This commit is contained in:
parent
88c44dcc68
commit
cae0f0ab34
1 changed files with 3 additions and 2 deletions
|
@ -56,8 +56,9 @@ public class CoordinateInputBottomSheetDialogFragment extends MenuBottomSheetDia
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
if (listener != null) {
|
if (listener != null) {
|
||||||
settings.COORDS_INPUT_USE_OSMAND_KEYBOARD.set(!useOsmandKeyboard);
|
OsmandSettings.CommonPreference<Boolean> pref = settings.COORDS_INPUT_USE_RIGHT_SIDE;
|
||||||
listener.onKeyboardChanged(!useOsmandKeyboard);
|
pref.set(!pref.get());
|
||||||
|
listener.onKeyboardChanged(pref.get());
|
||||||
}
|
}
|
||||||
dismiss();
|
dismiss();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue