[FL-2511] Updater: fixed long update descriptions overlapping UI elements #1327

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
hedger 2022-06-21 16:25:05 +03:00 committed by GitHub
parent a8acfcabb4
commit f060d005f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,14 +29,16 @@ void updater_scene_loadcfg_on_enter(void* context) {
widget_add_string_element(
updater->widget, 64, 12, AlignCenter, AlignCenter, FontPrimary, "Update");
widget_add_string_multiline_element(
widget_add_text_box_element(
updater->widget,
64,
5,
20,
118,
32,
AlignCenter,
AlignCenter,
FontSecondary,
string_get_cstr(pending_upd->manifest->version));
string_get_cstr(pending_upd->manifest->version),
true);
widget_add_button_element(
updater->widget,