fix(ui): scope QR scaling to Pager

This commit is contained in:
Pixel Perfect committed 2026-08-10 09:36:22 -07:00
1 parent fb4a11c887
commit f22c22020e
1 file changed
+2
+2
View File
@@ -40091,7 +40091,9 @@ static void buildGlobalStatusBar() {
g_statusbar.inbox_qr = mk(2); // rightmost — share QR
lv_obj_add_event_cb(g_statusbar.inbox_qr, shareMyContactBtnCb, LV_EVENT_CLICKED, nullptr);
{ lv_obj_t* qimg = lv_img_create(g_statusbar.inbox_qr); lv_img_set_src(qimg, &qr_icon_dsc);
#if defined(TLORA_PAGER)
lv_img_set_zoom(qimg, 228); // baked 18 px glyph -> 16 px, matching uiChromeFont()
#endif
lv_obj_set_style_img_recolor(qimg, lv_color_hex(COLOR_TEXT), LV_PART_MAIN);
lv_obj_set_style_img_recolor_opa(qimg, LV_OPA_COVER, LV_PART_MAIN); lv_obj_center(qimg); }
}