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) { diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c424818e..c66e84323 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 #517 + ### Fixed - Fix keyboard and UI issues in the calculator widget #513 - Preserve msat precision for LNURL pay, withdraw callbacks and bolt11 #512