change KeyboardMode from Numeric to ASCII

This commit is contained in:
Robin C. Ladiges 2022-07-18 03:31:02 +02:00
parent dd4f3202ae
commit ce5b799593
No known key found for this signature in database
GPG key ID: B494D3DF92661B99

View file

@ -297,8 +297,7 @@ bool Client::openKeyboardIP() {
// opens swkbd with the initial text set to the last saved IP
sInstance->mKeyboard->openKeyboard(
sInstance->mServerIP.cstr(), [](nn::swkbd::KeyboardConfig& config) {
config.keyboardMode = nn::swkbd::KeyboardMode::ModeNumeric;
config.leftOptionalSymbolKey = '.';
config.keyboardMode = nn::swkbd::KeyboardMode::ModeASCII;
config.textMaxLength = MAX_HOSTNAME_LENGTH;
config.textMinLength = 1;
config.isUseUtf8 = true;