Add setter for hideUnreadCount in AppDefaults

This commit is contained in:
Angelo Stavrow 2020-09-05 15:43:20 -04:00
parent a10aa591a2
commit 41156f6670
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE

View File

@ -194,7 +194,12 @@ final class AppDefaults {
}
var hideDockUnreadCount: Bool {
return AppDefaults.bool(for: Key.hideDockUnreadCount)
get {
return AppDefaults.bool(for: Key.hideDockUnreadCount)
}
set {
AppDefaults.setBool(for: Key.hideDockUnreadCount, newValue)
}
}
#if !MAC_APP_STORE