Returned to Worker model

This commit is contained in:
DerSkythe
2022-10-10 00:35:44 +04:00
parent b4a3ac468f
commit 500456b03d
15 changed files with 818 additions and 537 deletions

View File

@@ -227,10 +227,7 @@ bool subbrute_main_view_input(InputEvent* event, void* context) {
#ifdef FURI_DEBUG
with_view_model(
instance->view, (SubBruteMainViewModel * model) {
index = model->index;
return false;
});
instance->view, SubBruteMainViewModel * model, { index = model->index; }, false);
FURI_LOG_I(TAG, "Index: %d", index);
#endif
@@ -265,10 +262,7 @@ bool subbrute_main_view_input(InputEvent* event, void* context) {
#ifdef FURI_DEBUG
with_view_model(
instance->view, (SubBruteMainViewModel * model) {
index = model->index;
return false;
});
instance->view, SubBruteMainViewModel * model, { index = model->index; }, false);
FURI_LOG_I(TAG, "Index: %d", index);
#endif