From cae0f0ab34232a0e6c0e198f06751fcafc5c3cda Mon Sep 17 00:00:00 2001 From: Chumva Date: Thu, 29 Mar 2018 18:34:46 +0300 Subject: [PATCH] add pref variable --- .../mapmarkers/CoordinateInputBottomSheetDialogFragment.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputBottomSheetDialogFragment.java b/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputBottomSheetDialogFragment.java index 013014e98b..38ced128ba 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputBottomSheetDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/CoordinateInputBottomSheetDialogFragment.java @@ -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 pref = settings.COORDS_INPUT_USE_RIGHT_SIDE; + pref.set(!pref.get()); + listener.onKeyboardChanged(pref.get()); } dismiss(); }