feat: added option to enable OneView. It's a feature that allows merging all widgets in one menu bar item. (#1084)

THIS IS AN VERY APHA FEATURE! do not propose anything till the issue with the feature will be closed!
This commit is contained in:
Serhiy Mytrovtsiy
2023-01-27 19:32:30 +01:00
parent 4bf9e38d83
commit 7e9b249a06
8 changed files with 232 additions and 92 deletions

View File

@@ -40,6 +40,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
internal let updateActivity = NSBackgroundActivityScheduler(identifier: "eu.exelban.Stats.updateCheck")
internal var clickInNotification: Bool = false
internal var menuBarItem: NSStatusItem? = nil
internal var oneView: OneView = OneView()
internal var pauseState: Bool {
Store.shared.bool(key: "pause", defaultValue: false)