leon 1 yıl önce
ebeveyn
işleme
840f89da89

+ 0 - 9
src/features/trackTimeDuration/components/IndexConsole.tsx

@@ -928,9 +928,6 @@ export default function IndexConsole(props: { record: any, count: number, access
             {
                 (status == 'WAIT_FOR_START' || status == 'ONGOING1') &&
                 <View onClick={tapStartSleep} className={status == 'ONGOING1' ? 'console_btn btn_sleep' : 'console_btn btn_sleep btn_disable'}>
-                    {
-                        status != 'ONGOING1' && <Image className='lock' src={require('@assets/images/lock.png')} />
-                    }
                     <Text style={{ fontWeight: 'bold', fontSize: rpxToPx(32), color: ColorType.black }}>{t('feature.track_time_duration.common.start_sleep')}</Text>
                 </View>
             }
@@ -950,9 +947,6 @@ export default function IndexConsole(props: { record: any, count: number, access
             {
                 (expand || (status != 'WAIT_FOR_START' && status != 'ONGOING1')) && (status == 'WAIT_FOR_START' || status == 'ONGOING1' || status == 'ONGOING2') &&
                 <View onClick={tapEndSleep} className={status == 'ONGOING2' ? 'console_btn btn_sleep' : 'console_btn btn_sleep btn_disable'}>
-                    {
-                        status != 'ONGOING2' && <Image className='lock' src={require('@assets/images/lock.png')} />
-                    }
                     <Text style={{ fontWeight: 'bold', fontSize: rpxToPx(32), color: ColorType.black }}>{t('feature.track_time_duration.common.end_sleep')}</Text>
                 </View>
             }
@@ -967,9 +961,6 @@ export default function IndexConsole(props: { record: any, count: number, access
             {
                 (expand || status == 'ONGOING3' || status == 'ONGOING') &&
                 <View onClick={tapEndFast} className={status == 'ONGOING3' ? 'console_btn' : 'console_btn btn_disable'}>
-                    {
-                        status == 'WAIT_FOR_START' && <Image className='lock' src={require('@assets/images/lock.png')} />
-                    }
                     <Text style={{ fontWeight: 'bold', fontSize: rpxToPx(32), color: ColorType.black }}>{t('feature.track_time_duration.common.end_fast')}</Text>
                 </View>
             }