validate pin after full length of pin has been entered

This commit is contained in:
Matthias Oesterheld
2024-11-11 20:58:09 +01:00
parent 7947280bb6
commit b13fb7e953
2 changed files with 11 additions and 13 deletions

View File

@ -87,7 +87,6 @@ class HomeAssistantTapMenuItem extends WatchUi.IconMenuItem {
if (mConfirm) {
var hasTouchScreen = System.getDeviceSettings().isTouchScreen;
var pin = Settings.getPin();
System.println("HomeAsistantTemplateMenuItem callService() pin = '" + pin + "'");
if (!hasTouchScreen || "".equals(pin)) {
WatchUi.pushView(
new HomeAssistantConfirmation(),