From 9f8b2061a50f5db543d91d3533ea46d862e46a9c Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Mon, 17 Dec 2018 11:22:33 -0500 Subject: [PATCH] Display correctly in Mojave dark mode --- TodoTxtMac/TTMDocument.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TodoTxtMac/TTMDocument.m b/TodoTxtMac/TTMDocument.m index 9f5ec1d..9c5c592 100644 --- a/TodoTxtMac/TTMDocument.m +++ b/TodoTxtMac/TTMDocument.m @@ -172,7 +172,7 @@ - (id)windowWillReturnFieldEditor:(NSWindow *)sender toObject:(id)client { self.customFieldEditor.projectsArray = self.tasklistMetadata.projectsArray; self.customFieldEditor.contextsArray = self.tasklistMetadata.contextsArray; self.customFieldEditor.drawsBackground = YES; - self.customFieldEditor.backgroundColor = [NSColor whiteColor]; + self.customFieldEditor.backgroundColor = NSColor.textBackgroundColor; return self.customFieldEditor; }