Skip to content

Commit

Permalink
Add review status screens at the end of AddressReview.
Browse files Browse the repository at this point in the history
  • Loading branch information
agrojean-ledger committed May 27, 2024
1 parent d35bc49 commit 29ec480
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ledger_device_sdk/src/nbgl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,9 +518,11 @@ impl<'a> NbglAddressReview<'a> {
// Return true if the user approved the address, false otherwise.
match sync_ret {
ledger_secure_sdk_sys::UX_SYNC_RET_APPROVED => {
ledger_secure_sdk_sys::ux_sync_reviewStatus(STATUS_TYPE_ADDRESS_VERIFIED);
return true;
}
ledger_secure_sdk_sys::UX_SYNC_RET_REJECTED => {
ledger_secure_sdk_sys::ux_sync_reviewStatus(STATUS_TYPE_ADDRESS_REJECTED);
return false;
}
_ => {
Expand Down

0 comments on commit 29ec480

Please sign in to comment.