diff --git a/src/eth_plugin_interface.h b/src/eth_plugin_interface.h index 0ea618e..918645a 100644 --- a/src/eth_plugin_interface.h +++ b/src/eth_plugin_interface.h @@ -130,7 +130,8 @@ typedef struct ethPluginProvideToken_t { tokenDefinition_t *token1; // set by the ETH application, to be saved by the plugin tokenDefinition_t *token2; - uint8_t additionalScreens; // Used by the plugin if it needs to display additional screens based on the information received from the token definitions. + uint8_t additionalScreens; // Used by the plugin if it needs to display additional screens + // based on the information received from the token definitions. uint8_t result; diff --git a/src_features/signTx/logic_signTx.c b/src_features/signTx/logic_signTx.c index a5c9328..259ee78 100644 --- a/src_features/signTx/logic_signTx.c +++ b/src_features/signTx/logic_signTx.c @@ -321,8 +321,10 @@ void finalizeParsing(bool direct) { switch (pluginFinalize.uiType) { case ETH_UI_TYPE_GENERIC: dataPresent = false; - // Add the number of screens + the number of additional screens to get the total number of screens needed. - dataContext.tokenContext.pluginUiMaxItems = pluginFinalize.numScreens + pluginProvideToken.additionalScreens; + // Add the number of screens + the number of additional screens to get the total + // number of screens needed. + dataContext.tokenContext.pluginUiMaxItems = + pluginFinalize.numScreens + pluginProvideToken.additionalScreens; break; case ETH_UI_TYPE_AMOUNT_ADDRESS: genericUI = true;