add pref variable

This commit is contained in:
Chumva 2018-03-29 18:34:46 +03:00
parent 88c44dcc68
commit cae0f0ab34

View file

@ -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();
}