diff --git a/src/ui/osx/TogglDesktop/Features/TimeEntryList/TimeEntryCell.m b/src/ui/osx/TogglDesktop/Features/TimeEntryList/TimeEntryCell.m index 161a0dfc5e..33718392b6 100644 --- a/src/ui/osx/TogglDesktop/Features/TimeEntryList/TimeEntryCell.m +++ b/src/ui/osx/TogglDesktop/Features/TimeEntryList/TimeEntryCell.m @@ -25,7 +25,7 @@ @interface TimeEntryCell () @property (weak) IBOutlet NSButton *groupButton; @property (weak) IBOutlet NSButton *continueButton; @property (weak) IBOutlet NSBox *backgroundBox; -@property (weak) IBOutlet DotImageView *dotView; +@property (weak) IBOutlet NSBox *dotView; @property (weak) IBOutlet NSLayoutConstraint *projectConstrainLeading; @property (weak) IBOutlet NSBox *horizontalLine; @property (weak) IBOutlet NSTextField *descriptionTextField; @@ -261,7 +261,7 @@ - (void)render:(TimeEntryViewItem *)view_item { NSColor *projectColor = [ConvertHexColor hexCodeToNSColor:view_item.ProjectColor]; self.dotView.hidden = NO; - [self.dotView fillWith:projectColor]; + self.dotView.fillColor = [projectColor getAdaptiveColorForShape]; [self.projectTextField setTitleWithTimeEntry:view_item]; self.projectTextField.toolTip = view_item.ProjectAndTaskLabel; self.projectConstrainLeading.constant = 16; diff --git a/src/ui/osx/TogglDesktop/Features/TimeEntryList/TimeEntryCell.xib b/src/ui/osx/TogglDesktop/Features/TimeEntryList/TimeEntryCell.xib index 06503bc1d1..29f736b306 100644 --- a/src/ui/osx/TogglDesktop/Features/TimeEntryList/TimeEntryCell.xib +++ b/src/ui/osx/TogglDesktop/Features/TimeEntryList/TimeEntryCell.xib @@ -1,8 +1,8 @@ - + - + @@ -15,7 +15,7 @@ - + @@ -48,36 +48,39 @@ - + - + + + + + - - + + - - + - + - + + + - - @@ -117,7 +120,7 @@ - + @@ -216,7 +219,6 @@ -