aboutsummaryrefslogtreecommitdiffstats
path: root/src/features
diff options
context:
space:
mode:
Diffstat (limited to 'src/features')
-rw-r--r--src/features/ark.js2
-rw-r--r--src/features/messages.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/features/ark.js b/src/features/ark.js
index ea273b8..93578da 100644
--- a/src/features/ark.js
+++ b/src/features/ark.js
@@ -1546,7 +1546,7 @@ export function arkFeature(ctx) {
const bail = () => {
if (!z.autoSat) return; // a form zap: the card keeps the screen and its own status
ctx.hook('zapSettled', z.eventId, false);
- z.autoSat = 0; ui.tab = 'send';
+ z.autoSat = 0; ctx.showSend();
};
// an instant zap: resolution succeeded — pay the default amount now, no
// form, and report by toast; failures fall back to the classic form
diff --git a/src/features/messages.js b/src/features/messages.js
index 6314a58..60e87f8 100644
--- a/src/features/messages.js
+++ b/src/features/messages.js
@@ -4206,7 +4206,7 @@ export function messagesFeature(ctx) {
settleZap(ev.id, false);
ui.profilePk = null;
ui.chatOpen = false;
- ui.tab = 'send';
+ ctx.showSend();
render();
if (!hook('zapNpub', pk, npubStr, ev.id)) hook('lnZapNpub', pk, npubStr, ev.id);
}
@@ -5233,7 +5233,7 @@ export function messagesFeature(ctx) {
ui.noteThread = null;
ui.userSearch = null;
ui.chatOpen = false;
- ui.tab = 'send';
+ ctx.showSend(); // and never a lingering payment detail
render();
hook('matchSendText', npubStr);
} }, t('profPay')),