Skip to content

Commit a8ca205

Browse files
fix(datetimepicker): use native color (#22)
* Fix #11 * changes from NativeScript/NativeScript#8876 * Fix NativeScript/nativescript-datetimepicker#78
1 parent a255dbb commit a8ca205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/datetimepicker/index.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export class DateTimePicker extends DateTimePickerBase {
185185
}
186186
if (color) {
187187
if (this.SUPPORT_TEXT_COLOR) {
188-
nativePicker.setValueForKey(color, 'textColor');
188+
nativePicker.setValueForKey(color.ios, 'textColor');
189189
}
190190
nativePicker.setValueForKey(false, 'highlightsToday');
191191
}

0 commit comments

Comments
 (0)