From cfd72e9c74aad26af9d4d32d7b94b0a54e4664a3 Mon Sep 17 00:00:00 2001 From: Cyril Date: Wed, 19 Apr 2023 11:08:38 +0200 Subject: [PATCH] Rotate ArrowUp icons instead of using now-defunct ArrowDown --- views/gpio_usb_uart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/gpio_usb_uart.c b/views/gpio_usb_uart.c index c7406d29ba4..14f8c12fe9a 100644 --- a/views/gpio_usb_uart.c +++ b/views/gpio_usb_uart.c @@ -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) {