From 671ed1c30cc500530c53452e88a690d882726250 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Fri, 24 Oct 2025 21:52:39 -0400 Subject: [PATCH] Hide platform lightning address in zap receipts --- js/ui/components/VideoModal.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/js/ui/components/VideoModal.js b/js/ui/components/VideoModal.js index 568cc706..8ee337a1 100644 --- a/js/ui/components/VideoModal.js +++ b/js/ui/components/VideoModal.js @@ -3529,12 +3529,12 @@ export class VideoModal { const shareType = receipt.recipientType || receipt.type || "creator"; const shareLabel = this.document.createElement("span"); - const label = - shareType === "platform" - ? "Platform" - : shareType === "creator" - ? "Creator" - : "Lightning"; + const isPlatformShare = shareType === "platform"; + const label = isPlatformShare + ? "Platform fee" + : shareType === "creator" + ? "Creator" + : "Lightning"; shareLabel.textContent = `${label} • ${Math.max( 0, Math.round(Number(receipt.amount || 0)) @@ -3553,7 +3553,7 @@ export class VideoModal { const address = this.document.createElement("p"); address.className = "mt-1 text-xs text-text break-all"; - if (receipt.address) { + if (receipt.address && !isPlatformShare) { address.textContent = receipt.address; li.appendChild(address); }