[FL-3916] Require PIN on boot (#3952)

Co-authored-by: hedger <hedger@users.noreply.github.com>
This commit is contained in:
porta 2024-10-16 18:12:58 +03:00 committed by GitHub
parent 960e0bf545
commit c2c288b9ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -523,7 +523,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);
}