fix: always autolock if pin set

This commit is contained in:
Anna Antonenko 2024-09-16 17:11:31 +03:00
parent 15b271bd92
commit 1a9aca2d8c
No known key found for this signature in database
GPG key ID: 89A260885DBA8CF2

View file

@ -562,7 +562,7 @@ int32_t desktop_srv(void* p) {
scene_manager_next_scene(desktop->scene_manager, DesktopSceneMain);
if(furi_hal_rtc_is_flag_set(FuriHalRtcFlagLock)) {
if(desktop_pin_code_is_set()) {
desktop_lock(desktop);
}