✏️ Fix draw_dialog.cpp typo (#26684)

This commit is contained in:
ejhoness 2024-01-25 20:37:35 -03:00 committed by GitHub
parent 16acb57b22
commit 8594e9462c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -396,7 +396,7 @@ void lv_draw_dialog(uint8_t type) {
F(DIALOG_UPLOAD_FINISH_EN), '\n', F(DIALOG_UPLOAD_FINISH_EN), '\n',
F(DIALOG_UPLOAD_SIZE_EN), F(": "), int(upload_size / 1024), F(" KBytes\n"), F(DIALOG_UPLOAD_SIZE_EN), F(": "), int(upload_size / 1024), F(" KBytes\n"),
F(DIALOG_UPLOAD_TIME_EN), F(": "), int(upload_time_sec), F(" s\n"), F(DIALOG_UPLOAD_TIME_EN), F(": "), int(upload_time_sec), F(" s\n"),
F(DIALOG_UPLOAD_SPEED_EN), F(": "), int(upload_size / upload_time_sec / 1024), F(" KBytes/s\n"), F(DIALOG_UPLOAD_SPEED_EN), F(": "), int(upload_size / upload_time_sec / 1024), F(" KBytes/s\n")
); );
lv_label_set_text(labelDialog, buf); lv_label_set_text(labelDialog, buf);
lv_obj_align(labelDialog, nullptr, LV_ALIGN_CENTER, 0, -20); lv_obj_align(labelDialog, nullptr, LV_ALIGN_CENTER, 0, -20);