1
0
mirror of git://jb55.com/damus synced 2024-10-06 11:43:21 +00:00

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.dataDetectorTypes = .all
view.isSelectable = true
view.backgroundColor = .clear
view.textContainer.lineFragmentPadding = 0
view.textContainerInset = .zero
return view

View File

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