We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad7209b commit e18817fCopy full SHA for e18817f
1 file changed
lara/views/EditorView.swift
@@ -17,6 +17,7 @@ struct EditorView: View {
17
@State private var status: String?
18
@State private var currentPath: String = "/"
19
@State private var pathContents: [(name: String, isDir: Bool)] = []
20
+ @State private var showContextMenu = false
21
22
// init() {
23
// let docs = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)[0]
@@ -59,9 +60,14 @@ struct EditorView: View {
59
60
.font(.system(size: 12, design: .monospaced))
61
.frame(maxWidth: .infinity, alignment: .leading)
62
.padding(4)
- .textSelection(.enabled)
63
}
64
.frame(height: 200)
65
+ .contextMenu {
66
+ Button("Copy Log") {
67
+ UIPasteboard.general.string = mgr.vfsinitlog
68
+ }
69
70
+
71
72
73
.navigationTitle("MobileGestalt")
0 commit comments