Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions main/button_events.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ typedef enum {
BTN_RESTORE_MNEMONIC,
BTN_RESTORE_MNEMONIC_12,
BTN_RESTORE_MNEMONIC_24,
BTN_RESTORE_MNEMONIC_WORDS_12,
BTN_RESTORE_MNEMONIC_WORDS_24,
BTN_RESTORE_MNEMONIC_WORD_NUMBERS_12,
BTN_RESTORE_MNEMONIC_WORD_NUMBERS_24,
BTN_RESTORE_MNEMONIC_QR,

BTN_MNEMONIC_FINAL_WORD_EXISTING,
Expand Down
3 changes: 2 additions & 1 deletion main/gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,8 @@ static void update_text_node_text(gui_view_node_t* node, const char* text)
JADE_ASSERT(ret >= 0); // truncation is acceptable here, as is empty string

// free the old text node and replace with the new pointer
free(node->text->text);
// Use wally_free_string in case the text is sensitive
wally_free_string(node->text->text);
node->text->text = new_text;

// resolve text references
Expand Down
Loading