remove the minimize button

This commit is contained in:
neon443
2025-06-26 13:16:14 +01:00
parent 98e5b01970
commit de213c0d72

View File

@@ -38,13 +38,14 @@ struct ShellView: View {
Label("Disconnect", systemImage: "xmark.app.fill")
}
}
ToolbarItem(placement: .cancellationAction) {
Button() {
dismiss()
} label: {
Label("Close", systemImage: "arrow.down.right.and.arrow.up.left")
}
}
//TODO: FIX
// ToolbarItem(placement: .cancellationAction) {
// Button() {
// dismiss()
// } label: {
// Label("Close", systemImage: "arrow.down.right.and.arrow.up.left")
// }
// }
}
.onChange(of: handler.connected) { _ in
if !handler.connected { dismiss() }