-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[blind] remove LARGE_TX option for touch devices
- OFF is the default value Co-authored-by: Ajinkya <[email protected]>
- Loading branch information
1 parent
5886bac
commit c054190
Showing
11 changed files
with
9 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ void tz_ui_home_redisplay(uint8_t page); | |
// ----------------------------------------------------------- | ||
#define SETTING_INFO_NB 3 | ||
#define SETTINGS_SWITCHES_NB 1 | ||
#define SETTINGS_RADIO_NB 3 | ||
#define SETTINGS_RADIO_NB 2 | ||
static const char *const infoTypes[] = {"Version", "Developer", "Contact"}; | ||
static const char *const infoContents[] = { | ||
APPVERSION, "Trilitech Kanvas Limited et al.", "[email protected]"}; | ||
|
@@ -63,7 +63,7 @@ static const nbgl_contentInfoList_t infoList = {.nbInfos = SETTING_INFO_NB, | |
.infoContents = infoContents}; | ||
|
||
static const char *const blindsign_choices_text[] | ||
= {"Blindsign For Large Tx", "Blindsigning ON", "Blindsigning OFF"}; | ||
= {"Blindsigning OFF", "Blindsigning ON"}; | ||
|
||
static void | ||
get_contents(uint8_t index, nbgl_content_t *content) | ||
|
@@ -97,7 +97,7 @@ controls_callback(int token, __attribute__((unused)) uint8_t index, | |
expert_mode_switch.initState = (nbgl_state_t)(switch_value); | ||
} | ||
if (token == BLINDSIGN_MODE_TOKEN) { | ||
blindsign_state_t blindsign_status = (blindsign_state_t)(index % 3); | ||
blindsign_state_t blindsign_status = (blindsign_state_t)(index % 2); | ||
set_blindsign_status(blindsign_status); | ||
tz_ui_home_redisplay(BLINDSIGN_PAGE); | ||
} | ||
|
Binary file removed
BIN
-10.7 KB
.../integration/touch/snapshots/flex/settings_BlindsigningStatus_Large_Tx_only.png
Binary file not shown.
Binary file modified
BIN
-2.11 KB
(80%)
tests/integration/touch/snapshots/flex/settings_BlindsigningStatus_OFF.png
100755 → 100644
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
BIN
-2.11 KB
(80%)
tests/integration/touch/snapshots/flex/settings_BlindsigningStatus_ON.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 removed
BIN
-9.76 KB
.../integration/touch/snapshots/stax/settings_BlindsigningStatus_Large_Tx_only.png
Binary file not shown.
Binary file modified
BIN
-1.86 KB
(81%)
tests/integration/touch/snapshots/stax/settings_BlindsigningStatus_OFF.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
BIN
-1.86 KB
(81%)
tests/integration/touch/snapshots/stax/settings_BlindsigningStatus_ON.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters