Match event names to gui text

This commit is contained in:
Willy-JL
2023-08-29 01:59:54 +02:00
parent d7aa3ea60f
commit d2baf3935e
3 changed files with 6 additions and 6 deletions

View File

@@ -259,10 +259,10 @@ bool desktop_lock_menu_input_callback(InputEvent* event, void* context) {
if(event->key == InputKeyOk && event->type == InputTypeShort) {
switch(pin_lock) {
case 0:
desktop_event = DesktopLockMenuEventLock;
desktop_event = DesktopLockMenuEventLockKeypad;
break;
case 1:
desktop_event = DesktopLockMenuEventLockPin;
desktop_event = DesktopLockMenuEventLockPinCode;
break;
case 2:
desktop_event = DesktopLockMenuEventLockPinOff;