Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeutin-ledger committed Apr 3, 2024
1 parent 478712b commit 6beb134
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Check misspellings
uses: codespell-project/actions-codespell@v1
uses: codespell-project/actions-codespell@v2
with:
builtin: clear,rare
check_filenames: true
Expand Down
16 changes: 4 additions & 12 deletions src_nbgl/ui_settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,19 @@ static bool navCallback(uint8_t page, nbgl_pageContent_t* content) {
switches[index++] =
(nbgl_layoutSwitch_t){.initState = N_storage.dataAllowed ? ON_STATE : OFF_STATE,
.text = "Blind signing",
.subText =
"Enable transaction blind\n"
"signing",
.subText = "Enable transaction blind" + "\n" + "signing",
.token = BLIND_SIGNING_TOKEN,
.tuneId = TUNE_TAP_CASUAL};
switches[index++] =
(nbgl_layoutSwitch_t){.initState = N_storage.contractDetails ? ON_STATE : OFF_STATE,
.text = "Debug",
.subText =
"Display contract data\n"
"details",
.subText = "Display contract data" + "\n" + "details",
.token = DEBUG_TOKEN,
.tuneId = TUNE_TAP_CASUAL};
switches[index++] =
(nbgl_layoutSwitch_t){.initState = N_storage.displayNonce ? ON_STATE : OFF_STATE,
.text = "Nonce",
.subText =
"Display account nonce\n"
"in transaction",
.subText = "Display account nonce" + "\n" + "in transaction",
.token = NONCE_TOKEN,
.tuneId = TUNE_TAP_CASUAL};

Expand All @@ -66,9 +60,7 @@ static bool navCallback(uint8_t page, nbgl_pageContent_t* content) {
switches[index++] =
(nbgl_layoutSwitch_t){.initState = N_storage.verbose_eip712 ? ON_STATE : OFF_STATE,
.text = "Verbose EIP712",
.subText =
"Ignore filtering and\n"
"display raw content",
.subText = "Ignore filtering and" + "\n" + "display raw content",
.token = EIP712_VERBOSE_TOKEN,
.tuneId = TUNE_TAP_CASUAL};
#endif // HAVE_EIP712_FULL_SUPPORT
Expand Down

0 comments on commit 6beb134

Please sign in to comment.