Fix disappearing text on Thread view

Changelog-Fixed: Fix disappearing text on Thread view
Closes: #665
This commit is contained in:
Bryan Montz authored and William Casarin committed 2023-03-05 15:22:42 -05:00
1 parent f88718d56e
commit 10c9e8ddbc
2 files changed
+2

No files matched your search

+1
View File
@@ -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
@@ -71,6 +71,7 @@ struct SelectedEventView: View {
self.bar.update(damus: self.damus, evid: target)
}
.padding([.leading], 2)
.compositingGroup()
}
}
}