Skip to content

Commit

Permalink
Add Flex support
Browse files Browse the repository at this point in the history
  • Loading branch information
cedelavergne-ledger committed Jun 17, 2024
1 parent 35e13cd commit 5a270cc
Show file tree
Hide file tree
Showing 135 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ ICON_NANOS = icons/nanos_app_eos.gif
ICON_NANOX = icons/nano_app_eos.gif
ICON_NANOSP = icons/nano_app_eos.gif
ICON_STAX = icons/stax_app_eos.gif
ICON_FLEX = icons/flex_app_eos.gif

# Application allowed derivation curves.
# Possibles curves are: secp256k1, secp256r1, ed25519 and bls12381g1
Expand Down
File renamed without changes
Binary file added icons/flex_app_eos.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion ledger_app.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[app]
build_directory = "./"
sdk = "C"
devices = ["nanos", "nanox", "nanos+", "stax"]
devices = ["nanos", "nanox", "nanos+", "stax", "flex"]

[tests]
pytest_directory = "./tests/functional"
10 changes: 5 additions & 5 deletions src/ui_nbgl.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void ui_idle(void) {
infosList.infoContents = INFO_CONTENTS;

nbgl_useCaseHomeAndSettings(APPNAME,
&C_stax_app_eos_64px,
&C_app_eos_64px,
"This app confirms actions on\nthe EOS network",
INIT_HOME_PAGE,
&settingContents,
Expand All @@ -95,7 +95,7 @@ static void display_address_callback(bool confirm) {
void ui_display_public_key_flow(void) {
nbgl_useCaseAddressReview(tmpCtx.publicKeyContext.address,
NULL,
&C_stax_app_eos_64px,
&C_app_eos_64px,
"Verify Eos address",
NULL,
display_address_callback);
Expand Down Expand Up @@ -155,7 +155,7 @@ static nbgl_contentTagValue_t* get_multi_action_review_pair(uint8_t index) {
txProcessingCtx.currentActionNumber);
pair.value = review_action;
pair.centeredInfo = 1;
pair.valueIcon = &C_stax_app_eos_64px;
pair.valueIcon = &C_app_eos_64px;
return &pair;
}
return get_single_action_review_pair(index - 1);
Expand Down Expand Up @@ -190,7 +190,7 @@ void ui_display_single_action_sign_flow(void) {

nbgl_useCaseReview(TYPE_TRANSACTION,
&pairList,
&C_stax_app_eos_64px,
&C_app_eos_64px,
"Review transaction",
NULL,
"Sign transaction",
Expand Down Expand Up @@ -223,7 +223,7 @@ void ui_display_multiple_action_sign_flow(void) {
"With %d actions",
txProcessingCtx.currentActionNumber);
nbgl_useCaseReviewStreamingStart(TYPE_TRANSACTION,
&C_stax_app_eos_64px,
&C_app_eos_64px,
"Review transaction",
review_subtitle,
review_choice_single);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 5a270cc

Please sign in to comment.