From de213c0d7252c0888eec51e8bddb473e219e1e57 Mon Sep 17 00:00:00 2001 From: neon443 <69979447+neon443@users.noreply.github.com> Date: Thu, 26 Jun 2025 13:16:14 +0100 Subject: [PATCH] remove the minimize button --- ShhShell/Views/Terminal/ShellView.swift | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/ShhShell/Views/Terminal/ShellView.swift b/ShhShell/Views/Terminal/ShellView.swift index 4a1278c..c53c611 100644 --- a/ShhShell/Views/Terminal/ShellView.swift +++ b/ShhShell/Views/Terminal/ShellView.swift @@ -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() }