@@ -44,8 +44,6 @@ FirmwareValidation::FirmwareValidation(Pinetime::Controllers::FirmwareValidator&
44
44
lv_label_set_align (labelIsValidated, LV_LABEL_ALIGN_CENTER);
45
45
lv_obj_set_auto_realign (labelIsValidated, true );
46
46
lv_label_set_recolor (labelIsValidated, true );
47
- // lv_label_set_long_mode(labelIsValidated, LV_LABEL_LONG_BREAK);
48
- // lv_obj_set_width(labelIsValidated, 240);
49
47
50
48
if (validator.IsValidated ()) {
51
49
lv_label_set_text_static (labelIsValidated, " This firmware has\n been #00ff00 validated#" );
@@ -59,7 +57,6 @@ FirmwareValidation::FirmwareValidation(Pinetime::Controllers::FirmwareValidator&
59
57
lv_obj_align (buttonValidate, nullptr , LV_ALIGN_IN_BOTTOM_LEFT, 0 , 0 );
60
58
lv_obj_set_event_cb (buttonValidate, ButtonEventHandler);
61
59
lv_obj_set_style_local_bg_color (buttonValidate, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, Colors::highlight);
62
- // lv_obj_set_style_local_radius(buttonValidate, LV_BTN_PART_MAIN, LV_STATE_DEFAULT, LV_RADIUS_CIRCLE);
63
60
64
61
labelButtonValidate = lv_label_create (buttonValidate, nullptr );
65
62
lv_label_set_text_static (labelButtonValidate, " Validate" );
@@ -70,7 +67,6 @@ FirmwareValidation::FirmwareValidation(Pinetime::Controllers::FirmwareValidator&
70
67
lv_obj_align (buttonReset, nullptr , LV_ALIGN_IN_BOTTOM_RIGHT, 0 , 0 );
71
68
lv_obj_set_style_local_bg_color (buttonReset, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_RED);
72
69
lv_obj_set_event_cb (buttonReset, ButtonEventHandler);
73
- // lv_obj_set_style_local_radius(buttonReset, LV_BTN_PART_MAIN, LV_STATE_DEFAULT, LV_RADIUS_CIRCLE);
74
70
75
71
labelButtonReset = lv_label_create (buttonReset, nullptr );
76
72
lv_label_set_text_static (labelButtonReset, " Rollback" );
0 commit comments