remove fallback, remove border

This commit is contained in:
neon443 committed 2025-07-04 15:43:11 +01:00
1 parent 83eb9b8b62
commit 1f04f6527f
1 file changed
+5 -11
+5 -11
View File
@@ -135,7 +135,6 @@ struct ShellTabView: View {
handler: session.handler,
hostsManager: hostsManager
)
.border(.blue)
.onDisappear {
if !checkShell(session.handler.state) {
if let lastSession = container.sessionIDs.last {
@@ -148,17 +147,12 @@ struct ShellTabView: View {
.id(selectedID)
.transition(.opacity)
} else {
if let handler {
ShellView(handler: handler, hostsManager: hostsManager)
.onAppear {
if selectedID == nil {
selectedID = handler.sessionID
}
Text("No Session")
.onAppear {
if selectedID == nil {
selectedID = handler.sessionID
}
.border(.red)
} else {
Text("No SSH Handler")
}
}
}
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.