mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 05:19:13 +00:00
fixed it
This commit is contained in:
@@ -12,7 +12,7 @@ struct TerminalView: View {
|
||||
@ObservedObject var handler: SSHHandler
|
||||
|
||||
var body: some View {
|
||||
TextViewController(text: $handler.host.address)
|
||||
TextViewController(text: $handler.terminal)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,9 @@ struct TextViewController: UIViewRepresentable {
|
||||
@Binding var text: String
|
||||
|
||||
func makeUIView(context: Context) -> TextView {
|
||||
var textView = TextView()
|
||||
let textView = TextView()
|
||||
textView.translatesAutoresizingMaskIntoConstraints = false
|
||||
textView.backgroundColor = .systemBackground
|
||||
return textView
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user