Skip to content

Commit

Permalink
[fix] Removing 'localized' button
Browse files Browse the repository at this point in the history
  • Loading branch information
lpascal-ledger committed Sep 6, 2024
1 parent 7608c38 commit 7634089
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v2

- name: Lint
uses: DoozyX/clang-format-lint-action@v0.11
uses: DoozyX/clang-format-lint-action@v0.18.1
with:
source: 'src'
extensions: 'h,c'
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ all: default
APPNAME = "Recovery Check"
APPVERSION_M = 1
APPVERSION_N = 4
APPVERSION_P = 0
APPVERSION_P = 1
APPVERSION = "$(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)"

VARIANT_PARAM = NONE
Expand Down
8 changes: 4 additions & 4 deletions src/bagl/nanox_enter_phrase.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,13 @@ void screen_onboarding_4_restore_word_display_auto_complete(void) {
0,
#ifdef HAVE_BOLOS_NOT_SHUFFLED_RESTORE
0, /*always restart from the first element in the list*/
#else // HAVE_BOLOS_NOT_SHUFFLED_RESTORE
#else // HAVE_BOLOS_NOT_SHUFFLED_RESTORE
(strlen(G_ux.string_buffer + 16)
? 0
: cx_rng_u8() % auto_complete_count), /* start from a random element in the list for
the word start letter, else keep the order */
#endif // HAVE_BOLOS_NOT_SHUFFLED_RESTORE
// recompute alphabet and set the number of elements in the keyboard
#endif // HAVE_BOLOS_NOT_SHUFFLED_RESTORE
// recompute alphabet and set the number of elements in the keyboard
auto_complete_count +
(strlen(G_ux.string_buffer + 16)
? 1
Expand Down Expand Up @@ -532,7 +532,7 @@ void screen_onboarding_4_restore_word_init(unsigned int firstWord) {
ARRAYLEN(screen_onboarding_4_restore_word_intro_elements);
G_ux.stack[0].element_arrays_count = 1;
ux_stack_display(0);
#else // RESTORE_INTRO_WORD
#else // RESTORE_INTRO_WORD
screen_onboarding_4_restore_word_display_auto_complete();
#endif // RESTORE_INTRO_WORD
}
Expand Down
1 change: 0 additions & 1 deletion src/nbgl/passphrase_length_screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ void passphrase_length_configure_buttons(nbgl_button_t **buttons, const size_t s
button->radius = BUTTON_RADIUS;
button->fontId = SMALL_BOLD_1BPP_FONT;
button->icon = NULL;
button->localized = true;
button->obj.alignmentMarginX = 0;
button->obj.alignmentMarginY = (button->obj.area.height + 8) * i + BORDER_MARGIN;
button->obj.alignment = BOTTOM_MIDDLE;
Expand Down
Binary file modified tests/functional/snapshots/flex/info.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/functional/snapshots/stax/info.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7634089

Please sign in to comment.