Fix BT Remote 'stay' button on first launch bug (#1626)

This commit is contained in:
Max Andreev 2022-08-19 14:31:45 +03:00 committed by GitHub
parent 2a452063c6
commit fdb181b158
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,7 +134,8 @@ BtHid* bt_hid_app_alloc() {
app->view_dispatcher, BtHidViewMouse, bt_hid_mouse_get_view(app->bt_hid_mouse));
// TODO switch to menu after Media is done
view_dispatcher_switch_to_view(app->view_dispatcher, BtHidViewKeynote);
app->view_id = BtHidViewKeynote;
view_dispatcher_switch_to_view(app->view_dispatcher, app->view_id);
return app;
}