Repository navigation
v0.2.4
Overview
v0.2.4 refines ApprovalModal.qml to match the TxDetailModal / SettingsModal design system, fixes [!] Unverified program verification parsing in ApprovalManager.qml, removes hardcoded mock gas/debug strings, and keeps approval state synchronized across external dApp cancellations, modal dismissals, and timeouts.
Key Changes
- Verification Status & Metadata Normalization (
qml/state/ApprovalManager.qml): Accurately parses[!] UnverifiedasUNVERIFIEDinstead ofUNTRUSTED, mergesWallezKitapproval envelope metadata (dapp_name,summary,effects,program_id,payer_id,amount,to), strips internalDecoded(...)prefixes, and estimates gas viaGasCalculator.qml. - Cancel, Dismiss & Timeout Sync (
qml/state/ApprovalManager.qml,qml/modals/ApprovalModal.qml): Polls activepending_approvalstatus so dApp cancellations, timeouts, or×/ backdrop dismissals immediately clear state and closeApprovalModal. - Modal Layout & Controls (
qml/modals/ApprovalModal.qml): Uses borderlesstheme.bgSurface(#262626) cards, aligns the verification badge with the dApp title, and sets equal widths (50% / 50%) onRejectandAuthorize & Sign. - Documentation & Versioning (
README.md,metadata.json): Updates Section 8 to reflect the new approval UX and bumpsversionto0.2.4.