We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d02de1 commit 198007dCopy full SHA for 198007d
fw/application/src/mui/view/mui_toast_view.c
@@ -19,6 +19,7 @@ static void mui_toast_timer_handler(void *p_context) {
19
static void mui_toast_view_on_draw(mui_view_t *p_view, mui_canvas_t *p_canvas) {
20
mui_toast_view_t *p_toast_view = (mui_toast_view_t *)p_view->user_data;
21
const char *msg = string_get_cstr(p_toast_view->message);
22
+ mui_canvas_set_font(p_canvas, u8g2_font_wqy12_t_gb2312a);
23
if (p_toast_view->is_visible && string_size(p_toast_view->message) > 0) {
24
uint8_t mw = mui_canvas_get_width(p_canvas) - 16;
25
uint8_t th = mui_element_text_height(p_canvas, mw, msg);
0 commit comments