mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Enable text selection for video description
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user