Skip to content

Commit

Permalink
usbstorage ui: horizontally centre file-picker and ota progress labels
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieDriver committed Nov 11, 2024
1 parent 5543163 commit 3239d1e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion main/ui/dialogs.c
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ gui_activity_t* make_progress_bar_activity(const char* title, const char* messag
gui_make_text(&node, message, TFT_WHITE);
gui_set_parent(node, vsplit);
gui_set_padding(node, GUI_MARGIN_TWO_VALUES, 0, 12);
gui_set_align(node, GUI_ALIGN_LEFT, GUI_ALIGN_MIDDLE);
gui_set_align(node, GUI_ALIGN_CENTER, GUI_ALIGN_MIDDLE);

// second row, progress bar
make_progress_bar(vsplit, progress_bar);
Expand Down
1 change: 0 additions & 1 deletion main/usbhmsc/usbmode.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ static bool select_file_from_filtered_list(const char* title, const char* const
JADE_ASSERT(label_item);

uint8_t selected = 0;
gui_set_align(label_item, GUI_ALIGN_LEFT, GUI_ALIGN_MIDDLE);
gui_update_text(filename_item, filenames[selected]);
gui_set_current_activity(act);
int32_t ev_id;
Expand Down

0 comments on commit 3239d1e

Please sign in to comment.