Fix incorrect UI font id in some plugins

see commit f19f3ef

Change-Id: I417929eaa9303d439725fb4f0c20d104de54f8b0
This commit is contained in:
Christian Soffke 2024-11-07 17:30:36 +01:00
parent ee365f21c4
commit 0386469794
3 changed files with 3 additions and 3 deletions

View file

@ -605,7 +605,7 @@ enum plugin_status plugin_start(const void* parameter)
theme_bg=rb->lcd_get_background();
#endif
struct font *pf = rb->font_get(FONT_UI);
struct font *pf = rb->font_get(rb->screens[SCREEN_MAIN]->getuifont());
font_height = pf->height;
while (1) {