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
|
||||
public void onClick(View v) {
|
||||
if (listener != null) {
|
||||
settings.COORDS_INPUT_USE_OSMAND_KEYBOARD.set(!useOsmandKeyboard);
|
||||
listener.onKeyboardChanged(!useOsmandKeyboard);
|
||||
OsmandSettings.CommonPreference<Boolean> pref = settings.COORDS_INPUT_USE_RIGHT_SIDE;
|
||||
pref.set(!pref.get());
|
||||
listener.onKeyboardChanged(pref.get());
|
||||
}
|
||||
dismiss();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue