Fix pin entry layout not showing up

The regular text layout was showing instead of the pin entry due to a
misuse of the 'switch' syntax.
This commit is contained in:
Jules Aguillon 2022-12-14 15:33:44 +01:00
parent c61b31168c
commit 8f972113ca

View File

@ -226,8 +226,10 @@ public class Keyboard2 extends InputMethodService
case InputType.TYPE_CLASS_PHONE:
case InputType.TYPE_CLASS_DATETIME:
_currentSpecialLayout = KeyboardData.load_pin_entry(getResources());
break;
default:
_currentSpecialLayout = null;
break;
}
}