|
|
@@ -168,7 +168,7 @@ VirtualButtonApp* ifttt_virtual_button_app_alloc(uint32_t first_scene) {
|
|
|
// View dispatcher
|
|
|
app->view_dispatcher = view_dispatcher_alloc();
|
|
|
app->scene_manager = scene_manager_alloc(&virtual_button_scene_handlers, app);
|
|
|
- view_dispatcher_enable_queue(app->view_dispatcher);
|
|
|
+
|
|
|
view_dispatcher_set_event_callback_context(app->view_dispatcher, app);
|
|
|
view_dispatcher_set_custom_event_callback(
|
|
|
app->view_dispatcher, ifttt_virtual_button_custom_event_callback);
|