mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 13:26:16 +00:00
remove the minimize button
This commit is contained in:
@@ -38,13 +38,14 @@ struct ShellView: View {
|
|||||||
Label("Disconnect", systemImage: "xmark.app.fill")
|
Label("Disconnect", systemImage: "xmark.app.fill")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ToolbarItem(placement: .cancellationAction) {
|
//TODO: FIX
|
||||||
Button() {
|
// ToolbarItem(placement: .cancellationAction) {
|
||||||
dismiss()
|
// Button() {
|
||||||
} label: {
|
// dismiss()
|
||||||
Label("Close", systemImage: "arrow.down.right.and.arrow.up.left")
|
// } label: {
|
||||||
}
|
// Label("Close", systemImage: "arrow.down.right.and.arrow.up.left")
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
.onChange(of: handler.connected) { _ in
|
.onChange(of: handler.connected) { _ in
|
||||||
if !handler.connected { dismiss() }
|
if !handler.connected { dismiss() }
|
||||||
|
|||||||
Reference in New Issue
Block a user