@ -34,6 +34,7 @@ class UpcomingEventViewItem: NSCollectionViewItem {
}
//MARK:SetupUI
funcsetup(_title:String,
_subtitle:String,
_color:NSColor,
@ -87,7 +88,7 @@ class UpcomingEventViewItem: NSCollectionViewItem {
funcsetupEmptyState(){
letsubtitle=NSCalendar.autoupdatingCurrent.isDateInWeekend(Date())?NSLocalizedString("Happy Weekend.",comment:"Button Title for no upcoming event"):NSLocalizedString("Great going.",comment:"Button Title for no upcoming event")
setAlternateState(NSLocalizedString("No upcoming events for today!",comment:"Next Event Label with no upcoming event"),
subtitle,
NSColor.systemGreen,
@ -126,7 +127,7 @@ class UpcomingEventViewItem: NSCollectionViewItem {