Full interactive terminal via SwiftTerm, About sheet, English docs
This commit is contained in:
@@ -10,6 +10,7 @@ struct ContentView: View {
|
||||
@State private var showingEditor = false
|
||||
@State private var editingProfile: ConnectionProfile?
|
||||
@State private var showingKeys = false
|
||||
@State private var showingAbout = false
|
||||
@State private var statusMessage = "Bereit."
|
||||
|
||||
var body: some View {
|
||||
@@ -59,6 +60,8 @@ struct ContentView: View {
|
||||
.help("Duplizieren").disabled(selection == nil)
|
||||
Button(action: { showingKeys = true }) { Image(systemName: "key") }
|
||||
.help("SSH-Keys verwalten")
|
||||
Button(action: { showingAbout = true }) { Image(systemName: "info.circle") }
|
||||
.help("Info")
|
||||
}
|
||||
}
|
||||
} detail: {
|
||||
@@ -116,6 +119,9 @@ struct ContentView: View {
|
||||
.sheet(isPresented: $showingKeys) {
|
||||
SSHKeysView().environmentObject(store)
|
||||
}
|
||||
.sheet(isPresented: $showingAbout) {
|
||||
AboutView()
|
||||
}
|
||||
}
|
||||
|
||||
var selectedProfile: ConnectionProfile? {
|
||||
|
||||
Reference in New Issue
Block a user