@@ -27,6 +27,17 @@ FirmwareValidation::FirmwareValidation(Pinetime::Applications::DisplayApp* app,
2727 sprintf (version, " %ld.%ld.%ld" , Version::Major (), Version::Minor (), Version::Patch ());
2828 lv_label_set_text (labelVersionValue, version);
2929
30+ labelShortRefInfo = lv_label_create (lv_scr_act (), nullptr );
31+ lv_obj_align (labelShortRefInfo, nullptr , LV_ALIGN_IN_TOP_LEFT, 0 , 25 );
32+ lv_label_set_text (labelShortRefInfo, " ShortRef : " );
33+ lv_label_set_align (labelShortRefInfo, LV_LABEL_ALIGN_LEFT);
34+
35+ labelShortRefValue = lv_label_create (lv_scr_act (), nullptr );
36+ lv_obj_align (labelShortRefValue, labelShortRefInfo, LV_ALIGN_OUT_RIGHT_MID, 0 , 0 );
37+ lv_label_set_recolor (labelShortRefValue, true );
38+ sprintf (shortref, " %s" , Version::GitCommitHash ());
39+ lv_label_set_text (labelShortRefValue, shortref);
40+
3041 labelIsValidated = lv_label_create (lv_scr_act (), nullptr );
3142 lv_obj_align (labelIsValidated, nullptr , LV_ALIGN_IN_TOP_LEFT, 0 , 50 );
3243 lv_label_set_recolor (labelIsValidated, true );
0 commit comments