mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Enable text selection for video description
This commit is contained in:
parent
8d2694df33
commit
c78dd4a35e
@ -339,6 +339,7 @@ struct VideoDetails: View {
|
|||||||
VStack(alignment: .leading, spacing: 10) {
|
VStack(alignment: .leading, spacing: 10) {
|
||||||
if let description = video.description {
|
if let description = video.description {
|
||||||
Text(description)
|
Text(description)
|
||||||
|
.textSelection(.enabled)
|
||||||
.frame(maxWidth: .infinity, alignment: .leading)
|
.frame(maxWidth: .infinity, alignment: .leading)
|
||||||
.font(.caption)
|
.font(.caption)
|
||||||
.padding(.bottom, 4)
|
.padding(.bottom, 4)
|
||||||
|
Loading…
Reference in New Issue
Block a user