Delete global appDelegate variable.

This commit is contained in:
Brent Simmons
2025-01-30 22:42:20 -08:00
parent 9e3b659710
commit 2fed6d3cb3
6 changed files with 40 additions and 16 deletions

View File

@@ -1207,8 +1207,8 @@ private extension MainWindowController {
}
guard let selectedObjects = selectedObjectsInSidebar(), selectedObjects.count > 0 else {
window?.title = appDelegate.appName!
setSubtitle(appDelegate.unreadCount)
window?.title = AppConfig.appName
setSubtitle(AccountManager.shared.unreadCount)
return
}