From b95c82b2fd100e0a6865a974c333f4719ffdbba5 Mon Sep 17 00:00:00 2001 From: yuhang Date: Tue, 12 Mar 2024 00:51:38 +0800 Subject: [PATCH] feat: allow log view text to be select and copy --- ApplicationLibrary/Views/Log/LogView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ApplicationLibrary/Views/Log/LogView.swift b/ApplicationLibrary/Views/Log/LogView.swift index 5b6963f..7442b88 100644 --- a/ApplicationLibrary/Views/Log/LogView.swift +++ b/ApplicationLibrary/Views/Log/LogView.swift @@ -61,6 +61,7 @@ public struct LogView: View { ForEach(Array(logClient.logList.enumerated()), id: \.offset) { it in Text(it.element) .font(logFont) + .textSelection(.enabled) #if os(tvOS) .focusable() #endif