diff --git a/src/DateTimePickerModal.ios.js b/src/DateTimePickerModal.ios.js
index 8056543..e6934b3 100644
--- a/src/DateTimePickerModal.ios.js
+++ b/src/DateTimePickerModal.ios.js
@@ -69,8 +69,7 @@ export class DateTimePickerModal extends React.PureComponent {
state = {
currentDate: this.props.date,
- isPickerVisible: this.props.isVisible,
- isPickerSpinning: false
+ isPickerVisible: this.props.isVisible
};
didPressConfirm = false;
@@ -129,12 +128,7 @@ export class DateTimePickerModal extends React.PureComponent {
if (this.props.onChange) {
this.props.onChange(date);
}
- this.setState({ currentDate: date, isPickerSpinning: false });
- };
-
- handleUserTouchInit = () => {
- this.setState({ isPickerSpinning: true });
- return false;
+ this.setState({ currentDate: date });
};
render() {
@@ -190,16 +184,13 @@ export class DateTimePickerModal extends React.PureComponent {
]}
>
-
-
-
+
@@ -256,7 +247,6 @@ export const headerStyles = StyleSheet.create({
export const ConfirmButton = ({
isDarkModeEnabled,
- isDisabled,
onPress,
label,
style = confirmButtonStyles
@@ -269,7 +259,6 @@ export const ConfirmButton = ({
style={style.button}
underlayColor={underlayColor}
onPress={onPress}
- disabled={isDisabled}
>
{label}