damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 10c9e8ddbcc03a81744b687252be09a950c8cc4e
parent f88718d56e7319dc0a33bb921a1efdd5ede5cc85
Author: Bryan Montz <bryanmontz@me.com>
Date:   Tue, 21 Feb 2023 07:32:54 -0600

Fix disappearing text on Thread view

Changelog-Fixed: Fix disappearing text on Thread view
Closes: #665

Diffstat:
Mdamus/Components/SelectableText.swift | 1+
Mdamus/Views/Events/SelectedEventView.swift | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/damus/Components/SelectableText.swift b/damus/Components/SelectableText.swift @@ -49,6 +49,7 @@ struct SelectableText: View { view.isEditable = false view.dataDetectorTypes = .all view.isSelectable = true + view.backgroundColor = .clear view.textContainer.lineFragmentPadding = 0 view.textContainerInset = .zero return view diff --git a/damus/Views/Events/SelectedEventView.swift b/damus/Views/Events/SelectedEventView.swift @@ -71,6 +71,7 @@ struct SelectedEventView: View { self.bar.update(damus: self.damus, evid: target) } .padding([.leading], 2) + .compositingGroup() } } }