Skip to content

Commit d5d6a62

Browse files
committed
fix: Go to works
1 parent 9b5894b commit d5d6a62

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

hex_viewer.c

+5-4
Original file line numberDiff line numberDiff line change
@@ -63,21 +63,22 @@ HexViewer* hex_viewer_app_alloc() {
6363

6464
view_dispatcher_add_view(
6565
app->view_dispatcher, HexViewerViewIdMenu, submenu_get_view(app->submenu));
66+
6667
app->hex_viewer_startscreen = hex_viewer_startscreen_alloc();
6768
view_dispatcher_add_view(
6869
app->view_dispatcher,
6970
HexViewerViewIdStartscreen,
7071
hex_viewer_startscreen_get_view(app->hex_viewer_startscreen));
71-
app->hex_viewer_scene_1 = hex_viewer_scene_1_alloc();
72+
7273
view_dispatcher_add_view(
73-
app->view_dispatcher,
74-
HexViewerViewIdScene1,
75-
hex_viewer_scene_1_get_view(app->hex_viewer_scene_1));
74+
app->view_dispatcher, HexViewerViewIdScene1, text_input_get_view(app->text_input));
75+
7676
app->hex_viewer_scene_2 = hex_viewer_scene_2_alloc();
7777
view_dispatcher_add_view(
7878
app->view_dispatcher,
7979
HexViewerViewIdScene2,
8080
hex_viewer_scene_2_get_view(app->hex_viewer_scene_2));
81+
8182
app->button_menu = button_menu_alloc();
8283
view_dispatcher_add_view(
8384
app->view_dispatcher, HexViewerViewIdScene3, button_menu_get_view(app->button_menu));

0 commit comments

Comments
 (0)