From f7c6f1edb3c87a19af4674cb281f12be57c96fb4 Mon Sep 17 00:00:00 2001 From: Kim Date: Tue, 17 May 2022 15:03:57 +0200 Subject: [PATCH] Use textColor instead of blackColor in RNCPicker MacOS By using textColor instead of blackColor the color will adjust based on the system appearance (supporting dark/light mode) --- macos/RNCPicker.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macos/RNCPicker.m b/macos/RNCPicker.m index 113aa6ae67..ecac74856f 100644 --- a/macos/RNCPicker.m +++ b/macos/RNCPicker.m @@ -19,7 +19,7 @@ @implementation RNCPicker - (instancetype)initWithFrame:(CGRect)frame { if ((self = [super initWithFrame:frame pullsDown:false])) { - _color = [NSColor blackColor]; + _color = [NSColor textColor]; _customFont = [NSFont systemFontOfSize:14]; _selectedIndex = NSNotFound; _textAlign = NSTextAlignmentCenter;