remove the minimize button

This commit is contained in:
neon443 committed 2025-06-26 13:16:14 +01:00
1 parent 98e5b01970
commit de213c0d72
1 file changed
+8 -7
+8 -7
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() }
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.