clang-format
This commit is contained in:
parent
94aefed98f
commit
3b0fcc2a73
|
@ -17,12 +17,13 @@ namespace {
|
||||||
FirmwareValidation::FirmwareValidation(Pinetime::Applications::DisplayApp* app, Pinetime::Controllers::FirmwareValidator& validator)
|
FirmwareValidation::FirmwareValidation(Pinetime::Applications::DisplayApp* app, Pinetime::Controllers::FirmwareValidator& validator)
|
||||||
: Screen {app}, validator {validator} {
|
: Screen {app}, validator {validator} {
|
||||||
labelVersion = lv_label_create(lv_scr_act(), nullptr);
|
labelVersion = lv_label_create(lv_scr_act(), nullptr);
|
||||||
lv_label_set_text_fmt(labelVersion, "Version : %d.%d.%d\n"
|
lv_label_set_text_fmt(labelVersion,
|
||||||
"ShortRef : %s",
|
"Version : %d.%d.%d\n"
|
||||||
Version::Major(),
|
"ShortRef : %s",
|
||||||
Version::Minor(),
|
Version::Major(),
|
||||||
Version::Patch(),
|
Version::Minor(),
|
||||||
Version::GitCommitHash());
|
Version::Patch(),
|
||||||
|
Version::GitCommitHash());
|
||||||
lv_obj_align(labelVersion, nullptr, LV_ALIGN_IN_TOP_LEFT, 0, 0);
|
lv_obj_align(labelVersion, nullptr, LV_ALIGN_IN_TOP_LEFT, 0, 0);
|
||||||
|
|
||||||
labelIsValidated = lv_label_create(lv_scr_act(), nullptr);
|
labelIsValidated = lv_label_create(lv_scr_act(), nullptr);
|
||||||
|
|
Loading…
Reference in New Issue