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") 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() }