Skip to content

Commit

Permalink
Rotate ArrowUp icons instead of using now-defunct ArrowDown
Browse files Browse the repository at this point in the history
  • Loading branch information
garsaud authored Apr 19, 2023
1 parent 614f794 commit cfd72e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/gpio_usb_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ static void gpio_usb_uart_draw_callback(Canvas* canvas, void* _model) {
canvas_draw_icon(canvas, 48, 14, &I_ArrowUpEmpty_14x15);

if(model->rx_active)
canvas_draw_icon(canvas, 48, 34, &I_ArrowDownFilled_14x15);
canvas_draw_icon_ex(canvas, 48, 34, &I_ArrowUpFilled_14x15, IconRotation180);
else
canvas_draw_icon(canvas, 48, 34, &I_ArrowDownEmpty_14x15);
canvas_draw_icon_ex(canvas, 48, 34, &I_ArrowUpEmpty_14x15, IconRotation180);
}

static bool gpio_usb_uart_input_callback(InputEvent* event, void* context) {
Expand Down

0 comments on commit cfd72e9

Please sign in to comment.