Now shows the network name in the Stax public address UI flow
This commit is contained in:
@@ -28,7 +28,8 @@ void ui_display_privacy_shared_secret(void) {
|
||||
ux_flow_init(0, ux_display_privacy_shared_secret_flow, NULL);
|
||||
}
|
||||
|
||||
void ui_display_public_key(void) {
|
||||
void ui_display_public_key(const uint64_t *chain_id) {
|
||||
(void) chain_id;
|
||||
ux_flow_init(0, ux_display_public_flow, NULL);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#ifdef HAVE_DOMAIN_NAME
|
||||
|
||||
#include "ux.h"
|
||||
#include "ui_domain_name.h"
|
||||
#include "domain_name.h"
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -158,6 +158,7 @@ UX_STEP_NOCB(
|
||||
.title = "Max Fees",
|
||||
.text = strings.common.maxFee,
|
||||
});
|
||||
|
||||
UX_STEP_NOCB(
|
||||
ux_approval_network_step,
|
||||
bnnn_paging,
|
||||
@@ -240,7 +241,7 @@ void ux_approve_tx(bool fromPlugin) {
|
||||
}
|
||||
|
||||
uint64_t chain_id = get_tx_chain_id();
|
||||
if (chainConfig->chainId == ETHEREUM_MAINNET_CHAINID && chain_id != chainConfig->chainId) {
|
||||
if ((chainConfig->chainId == ETHEREUM_MAINNET_CHAINID) && (chain_id != chainConfig->chainId)) {
|
||||
ux_approval_tx_flow[step++] = &ux_approval_network_step;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user