fix later

This commit is contained in:
MX 2023-08-17 03:24:14 +03:00
parent fec80da3f4
commit 0934b3f791
No known key found for this signature in database
GPG Key ID: 7CCC66B7DBDD1C83

View File

@ -223,7 +223,8 @@ void desktop_view_locked_close_doors(DesktopViewLocked* locked_view) {
void desktop_view_locked_lock(DesktopViewLocked* locked_view, bool pin_locked) { void desktop_view_locked_lock(DesktopViewLocked* locked_view, bool pin_locked) {
DesktopViewLockedModel* model = view_get_model(locked_view->view); DesktopViewLockedModel* model = view_get_model(locked_view->view);
furi_assert(model->view_state == DesktopViewLockedStateUnlocked); // TODO: Fix!!!!!!!!!!!
//furi_assert(model->view_state == DesktopViewLockedStateUnlocked);
model->view_state = DesktopViewLockedStateLocked; model->view_state = DesktopViewLockedStateLocked;
model->pin_locked = pin_locked; model->pin_locked = pin_locked;
view_commit_model(locked_view->view, true); view_commit_model(locked_view->view, true);