From 24295639aecd0de26fa114eb5310b56a70789980 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Fri, 14 Aug 2020 14:35:36 -0500 Subject: [PATCH] Set the total unread count in the subtitle when nothing is selected --- Mac/MainWindow/MainWindowController.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Mac/MainWindow/MainWindowController.swift b/Mac/MainWindow/MainWindowController.swift index 14fd272bd..c548c9bc4 100644 --- a/Mac/MainWindow/MainWindowController.swift +++ b/Mac/MainWindow/MainWindowController.swift @@ -1220,7 +1220,9 @@ private extension MainWindowController { } } else { window?.title = appDelegate.appName! - return + if #available(macOS 11.0, *) { + window?.subtitle = "\(appDelegate.unreadCount) unread" + } } }