Fix disappearing text on Thread view

Changelog-Fixed: Fix disappearing text on Thread view
Closes: #665
This commit is contained in:
Bryan Montz
2023-02-21 07:32:54 -06:00
committed by William Casarin
parent f88718d56e
commit 10c9e8ddbc
2 changed files with 2 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ struct SelectableText: View {
view.isEditable = false view.isEditable = false
view.dataDetectorTypes = .all view.dataDetectorTypes = .all
view.isSelectable = true view.isSelectable = true
view.backgroundColor = .clear
view.textContainer.lineFragmentPadding = 0 view.textContainer.lineFragmentPadding = 0
view.textContainerInset = .zero view.textContainerInset = .zero
return view return view

View File

@@ -71,6 +71,7 @@ struct SelectedEventView: View {
self.bar.update(damus: self.damus, evid: target) self.bar.update(damus: self.damus, evid: target)
} }
.padding([.leading], 2) .padding([.leading], 2)
.compositingGroup()
} }
} }
} }