|
|
@@ -316,7 +316,7 @@ export default function Component(props: { isNextStep?: boolean }) {
|
|
|
return <View className="btn_bg">
|
|
|
{
|
|
|
(time.status == 'WAIT_FOR_START') &&
|
|
|
- <StartSleepBtn onClick={showPicker} />
|
|
|
+ <StartSleepBtn onClick={() => { }} />
|
|
|
}
|
|
|
{
|
|
|
time.status == 'ONGOING1' && <EndFastBtn onClick={showPicker} lowLight={time.fast.target_end_time > new Date().getTime()} />
|
|
|
@@ -511,7 +511,7 @@ export default function Component(props: { isNextStep?: boolean }) {
|
|
|
}}>
|
|
|
{
|
|
|
(time.status == 'WAIT_FOR_START') && <Stepper children={
|
|
|
- <Text className="stepper_text" style={{ color: global.sleepColor ? global.sleepColor : ColorType.sleep, opacity: textAlpha(time) }} onClick={showDurationPicker}>{durationFormate()}</Text>
|
|
|
+ <Text className="stepper_text" style={{ color: global.sleepColor ? global.sleepColor : ColorType.sleep, opacity: textAlpha(time) }} onClick={() => { }}>{durationFormate()}</Text>
|
|
|
} minus={minus} plus={plus}
|
|
|
themeColor={global.sleepColor ? global.sleepColor : ColorType.sleep} disableMinus={disableMinus()} disablePlus={disablePlus()} />
|
|
|
}
|
|
|
@@ -591,7 +591,9 @@ export default function Component(props: { isNextStep?: boolean }) {
|
|
|
}
|
|
|
{
|
|
|
(time.status == 'ONGOING1' || time.status == 'WAIT_FOR_START') && <Stepper children={
|
|
|
- <Text className="stepper_text" style={{ color: textColor, opacity: textAlpha(time) }} onClick={showDurationPicker}>{durationFormate()}</Text>
|
|
|
+ <Text className="stepper_text" style={{ color: textColor, opacity: textAlpha(time) }}
|
|
|
+ onClick={showDurationPicker}
|
|
|
+ >{durationFormate()}</Text>
|
|
|
} minus={minus} plus={plus}
|
|
|
themeColor={isFast ? global.fastColor ? global.fastColor : ColorType.fast : global.sleepColor ? global.sleepColor : ColorType.sleep} disableMinus={disableMinus()} disablePlus={disablePlus()} />
|
|
|
}
|