diff options
| author | Adam Soltys <[email protected]> | 2026-08-30 22:32:45 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-30 22:32:45 -0700 |
| commit | bfe6ee7f93d294e430718a91c96aef815ee6935a (patch) | |
| tree | 2fc30cfc1de0eeb03ddce5bf618cf1df39819c5e /src/features/gifts.js | |
| parent | 08138f7c4eddf2a94a49350e31c7cffd97fe3120 (diff) | |
| download | coinosv3-bfe6ee7f93d294e430718a91c96aef815ee6935a.tar.gz coinosv3-bfe6ee7f93d294e430718a91c96aef815ee6935a.zip | |
The phone's Back button closes a payment's details instead of teleporting to the last tab: the ark move/exit and gift detail views join NAV_FIELDS (an on-chain txDetail always had an entry; the ark rows — most Spending payments — minted none, so Back skipped the history list entirely), and their in-app Back buttons pop that entry rather than pushing another
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MrkLsNScXe9b6BviUSdmMr
Diffstat (limited to 'src/features/gifts.js')
| -rw-r--r-- | src/features/gifts.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/gifts.js b/src/features/gifts.js index 3b094d1..a73bfe9 100644 --- a/src/features/gifts.js +++ b/src/features/gifts.js @@ -739,7 +739,7 @@ export function giftsFeature(ctx) { const created = (wallet.loaded && (wallet.giftRecords()[g.id] || {}).created) || g.created; const rec = g.claimed ? null : wallet.giftLink(g.id); const line = (k, v) => h('div', { class: 'line' }, h('span', { class: 'k' }, k), h('span', { class: 'v' }, v)); - const back = () => { ui.giftDetail = null; ui.revokeId = null; render(); }; + const back = () => { ui.revokeId = null; ctx.goBack(() => { ui.giftDetail = null; }); }; return h( 'div', { class: 'card col' }, |
