mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-08 05:39:09 -07:00
Format
This commit is contained in:
@@ -58,9 +58,7 @@ UART_TerminalApp* uart_terminal_app_alloc() {
|
||||
|
||||
app->text_input = text_input_alloc();
|
||||
view_dispatcher_add_view(
|
||||
app->view_dispatcher,
|
||||
UART_TerminalAppViewTextInput,
|
||||
text_input_get_view(app->text_input));
|
||||
app->view_dispatcher, UART_TerminalAppViewTextInput, text_input_get_view(app->text_input));
|
||||
|
||||
scene_manager_next_scene(app->scene_manager, UART_TerminalSceneStart);
|
||||
|
||||
|
||||
@@ -58,9 +58,7 @@ UART_TerminalApp* uart_terminal_app_alloc() {
|
||||
|
||||
app->text_input = text_input_alloc();
|
||||
view_dispatcher_add_view(
|
||||
app->view_dispatcher,
|
||||
UART_TerminalAppViewTextInput,
|
||||
text_input_get_view(app->text_input));
|
||||
app->view_dispatcher, UART_TerminalAppViewTextInput, text_input_get_view(app->text_input));
|
||||
|
||||
scene_manager_next_scene(app->scene_manager, UART_TerminalSceneStart);
|
||||
|
||||
|
||||
@@ -68,9 +68,7 @@ WifiMarauderApp* wifi_marauder_app_alloc() {
|
||||
|
||||
app->text_input = text_input_alloc();
|
||||
view_dispatcher_add_view(
|
||||
app->view_dispatcher,
|
||||
WifiMarauderAppViewTextInput,
|
||||
text_input_get_view(app->text_input));
|
||||
app->view_dispatcher, WifiMarauderAppViewTextInput, text_input_get_view(app->text_input));
|
||||
|
||||
app->widget = widget_alloc();
|
||||
view_dispatcher_add_view(
|
||||
|
||||
@@ -354,7 +354,8 @@ static void text_input_view_draw_callback(Canvas* canvas, void* _model) {
|
||||
canvas_draw_glyph(
|
||||
canvas,
|
||||
keyboard_origin_x + keys[column].x,
|
||||
keyboard_origin_y + keys[column].y - (glyph == '_' || char_is_lowercase(glyph)),
|
||||
keyboard_origin_y + keys[column].y -
|
||||
(glyph == '_' || char_is_lowercase(glyph)),
|
||||
glyph);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user