1
0
Fork 0

SystemInfo app screen

First screen. Let the build date and build time string be centered as well as the others
This commit is contained in:
Stoian Minaiev 2021-05-10 15:13:33 +03:00 committed by GitHub
parent 9e1ce2d423
commit 9a8824c35a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,8 +70,8 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen1() {
"#FFFF00 InfiniTime#\n\n"
"#444444 Version# %ld.%ld.%ld\n\n"
"#444444 Build date#\n"
"\t%s\n"
"\t%s\n",
"%s\n"
"%s\n",
Version::Major(),
Version::Minor(),
Version::Patch(),
@ -242,4 +242,4 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen5() {
lv_label_set_align(label, LV_LABEL_ALIGN_CENTER);
lv_obj_align(label, lv_scr_act(), LV_ALIGN_CENTER, 0, 0);
return std::unique_ptr<Screen>(new Screens::Label(4, 5, app, label));
}
}