From 0032ad9b574b54b0a5e4ec9aa75e255398fa36a7 Mon Sep 17 00:00:00 2001 From: Micha Date: Tue, 30 Dec 2025 19:29:01 +0100 Subject: [PATCH] chore: remove update button from main toolbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the 'Check for Updates' button from the main window toolbar. Updates are available via Preferences → Updates, which is sufficient. --- Sources/Views/MainView.swift | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Sources/Views/MainView.swift b/Sources/Views/MainView.swift index 6fe0327..608c79c 100644 --- a/Sources/Views/MainView.swift +++ b/Sources/Views/MainView.swift @@ -12,7 +12,6 @@ struct MainView: View { private static let serverOrderKeyStatic = "serverOrder" private static let storedServersKeyStatic = "storedServers" - @EnvironmentObject private var sparkleUpdater: SparkleUpdater @State var showAddServerSheet: Bool = false @State private var serverBeingEdited: Server? @State private var serverToDelete: Server? @@ -60,14 +59,6 @@ struct MainView: View { } .help("Add Host") } - ToolbarItem { - Button { - sparkleUpdater.checkForUpdates() - } label: { - Image(systemName: "square.and.arrow.down") - } - .help("Check for Updates") - } } .navigationTitle("Servers") .onChange(of: selectedServerID) {