Skip to content

Commit 3239d1e

Browse files
author
Jamie C. Driver
committed
usbstorage ui: horizontally centre file-picker and ota progress labels
1 parent 5543163 commit 3239d1e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

main/ui/dialogs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ gui_activity_t* make_progress_bar_activity(const char* title, const char* messag
684684
gui_make_text(&node, message, TFT_WHITE);
685685
gui_set_parent(node, vsplit);
686686
gui_set_padding(node, GUI_MARGIN_TWO_VALUES, 0, 12);
687-
gui_set_align(node, GUI_ALIGN_LEFT, GUI_ALIGN_MIDDLE);
687+
gui_set_align(node, GUI_ALIGN_CENTER, GUI_ALIGN_MIDDLE);
688688

689689
// second row, progress bar
690690
make_progress_bar(vsplit, progress_bar);

main/usbhmsc/usbmode.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ static bool select_file_from_filtered_list(const char* title, const char* const
191191
JADE_ASSERT(label_item);
192192

193193
uint8_t selected = 0;
194-
gui_set_align(label_item, GUI_ALIGN_LEFT, GUI_ALIGN_MIDDLE);
195194
gui_update_text(filename_item, filenames[selected]);
196195
gui_set_current_activity(act);
197196
int32_t ev_id;

0 commit comments

Comments
 (0)