clang-format

This commit is contained in:
Riku Isokoski 2021-07-03 13:44:12 +03:00 committed by JF002
parent 94aefed98f
commit 3b0fcc2a73
1 changed files with 7 additions and 6 deletions

View File

@ -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);