File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1548,14 +1548,13 @@ bool show_otp_uri_qr_activity(const otpauth_ctx_t* otp_ctx)
15481548 goto cleanup ;
15491549 }
15501550
1551- Icon * const qr_icon = JADE_MALLOC (sizeof (Icon ));
1552-
15531551 if (written >= MAX_QR_V6_DATA_LEN ) {
15541552 const char * msg [] = { "URI too long" , "for QR" };
15551553 await_error_activity (msg , 2 );
15561554 goto cleanup ;
15571555 }
15581556
1557+ Icon * const qr_icon = JADE_MALLOC (sizeof (Icon ));
15591558 bytes_to_qr_icon ((const uint8_t * )uri , written , qr_icon );
15601559
15611560 gui_activity_t * const act = make_show_otp_qr_actvity (otp_ctx -> name , qr_icon );
@@ -1569,6 +1568,8 @@ bool show_otp_uri_qr_activity(const otpauth_ctx_t* otp_ctx)
15691568 goto cleanup ;
15701569 } else if (ev_id == BTN_OTP_DETAILS_SECRET ) {
15711570 show_otp_secret_text_activity (otp_ctx );
1571+ } else if (ev_id == BTN_HELP ) {
1572+ await_qr_help_activity ("blkstrm.com/otp" );
15721573 }
15731574 }
15741575 }
You can’t perform that action at this time.
0 commit comments