fix: iOS TimePicker minuteInterval property (#6116)

This commit is contained in:
Nick Iliev
2018-07-27 16:19:12 +03:00
committed by GitHub
parent 9dfac425c4
commit 88f7ed84d2

View File

@ -1,5 +1,5 @@
import { import {
TimePickerBase, timeProperty, TimePickerBase, timeProperty, minuteIntervalProperty,
minuteProperty, minMinuteProperty, maxMinuteProperty, minuteProperty, minMinuteProperty, maxMinuteProperty,
hourProperty, minHourProperty, maxHourProperty, colorProperty, Color hourProperty, minHourProperty, maxHourProperty, colorProperty, Color
} from "./time-picker-common"; } from "./time-picker-common";
@ -93,10 +93,10 @@ export class TimePicker extends TimePickerBase {
this.nativeViewProtected.maximumDate = getDate(this.hour, value); this.nativeViewProtected.maximumDate = getDate(this.hour, value);
} }
[timeProperty.getDefault](): number { [minuteIntervalProperty.getDefault](): number {
return this.nativeViewProtected.minuteInterval; return this.nativeViewProtected.minuteInterval;
} }
[timeProperty.setNative](value: number) { [minuteIntervalProperty.setNative](value: number) {
this.nativeViewProtected.minuteInterval = value; this.nativeViewProtected.minuteInterval = value;
} }