From 038df124a9c9d0ec7e7f3a7387669d5273a5bf49 Mon Sep 17 00:00:00 2001 From: Dustin Mierau Date: Sun, 30 Jun 2024 17:46:30 -0700 Subject: A pass on icons. Sleeker toolbar window. Fix Accounts and News menu item disable states. Don't request banner from older servers. Cleanup News list display. --- Hotline/Models/Hotline.swift | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Hotline/Models') diff --git a/Hotline/Models/Hotline.swift b/Hotline/Models/Hotline.swift index 70073c2..c57434a 100644 --- a/Hotline/Models/Hotline.swift +++ b/Hotline/Models/Hotline.swift @@ -667,6 +667,10 @@ class Hotline: Equatable, HotlineClientDelegate, HotlineFileClientDelegate { } @MainActor func downloadBanner(force: Bool = false) { + guard self.serverVersion >= 150 else { + return + } + if self.bannerClient != nil || force { self.bannerClient?.delegate = nil self.bannerClient?.cancel() -- cgit