We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06a731f commit 0529211Copy full SHA for 0529211
1 file changed
src_nbgl/ui_sign_message.c
@@ -56,7 +56,7 @@ static bool ui_191_update_display_buffer(void) {
56
false);
57
#else // SCREEN_SIZE_WALLET
58
len = strlen(g_stax_shared_buffer);
59
- reached = (strlen(UI_191_BUFFER) - len) > 0;
+ reached = (g_rcv_buffer_idx == 0);
60
#endif // SCREEN_SIZE_WALLET
61
g_rcv_buffer_idx += (len - g_display_buffer_idx);
62
g_display_buffer_idx = len;
@@ -168,6 +168,10 @@ void ui_191_switch_to_message(void) {
168
169
void ui_191_switch_to_sign(void) {
170
g_action = UI_191_ACTION_GO_TO_SIGN;
171
+#ifndef SCREEN_SIZE_WALLET
172
+ // For Nano, if we're here the entire message has already been reviewed, so force skip
173
+ g_skipped = true;
174
+#endif
175
if (g_skipped) {
176
ui_191_process_state();
177
} else if (g_display_buffer_idx > 0) {
0 commit comments