Update LCManager.swift

This commit is contained in:
Duraid Abdul
2021-05-22 14:47:17 -07:00
parent 1c12c101b6
commit 67e2ff5ce5
+2 -2
View File
@@ -239,7 +239,7 @@ public class LCManager: NSObject, UIGestureRecognizerDelegate {
}
/// Copy the console view text to the device's clipboard.
public func copyToClipboard() {
public func copy() {
UIPasteboard.general.string = consoleTextView.text
}
@@ -315,7 +315,7 @@ public class LCManager: NSObject, UIGestureRecognizerDelegate {
let copy = UIAction(title: "Copy",
image: UIImage(systemName: "doc.on.doc"), handler: { _ in
self.copyToClipboard()
self.copy()
})
let resize = UIAction(title: "Resize Console",