From 8920307b11143f172fe0f9d4c6e06f6980715e30 Mon Sep 17 00:00:00 2001 From: jvsena42 Date: Tue, 7 Apr 2026 13:26:24 -0300 Subject: [PATCH 1/3] feat: limit lines to two and implament truncate mode to middle --- Bitkit/Components/CopyAddressCard.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Bitkit/Components/CopyAddressCard.swift b/Bitkit/Components/CopyAddressCard.swift index cd37873ac..659bbcc25 100644 --- a/Bitkit/Components/CopyAddressCard.swift +++ b/Bitkit/Components/CopyAddressCard.swift @@ -28,6 +28,7 @@ struct CopyAddressCard: View { BodySText(pair.address, textColor: .textPrimary) .lineLimit(2) + .truncationMode(.middle) .padding(.bottom, 12) HStack(spacing: 8) { From 4b591ba41986c70bff66cb1854e4ef7a20ed2663 Mon Sep 17 00:00:00 2001 From: jvsena42 Date: Tue, 7 Apr 2026 13:27:35 -0300 Subject: [PATCH 2/3] dod: changelog entry --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c424818e..38ee98b4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- Use middle-ellipsis truncation for addresses on the receive screen + ### Fixed - Fix keyboard and UI issues in the calculator widget #513 - Preserve msat precision for LNURL pay, withdraw callbacks and bolt11 #512 From 0e93035b2f9606944c4d0ed0597000795f8be280 Mon Sep 17 00:00:00 2001 From: jvsena42 Date: Tue, 7 Apr 2026 13:28:47 -0300 Subject: [PATCH 3/3] doc: add pr number --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38ee98b4c..c66e84323 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Changed -- Use middle-ellipsis truncation for addresses on the receive screen +- Use middle-ellipsis truncation for addresses on the receive screen #517 ### Fixed - Fix keyboard and UI issues in the calculator widget #513