|
@@ -614,12 +614,20 @@ export default function MainConsole(props: { type: WindowType }) {
|
|
|
global.refreshWindow()
|
|
global.refreshWindow()
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ function timePointClass(){
|
|
|
|
|
+ if (getWindowStatus(health.windows, health.mode) == WindowStatusType.process){
|
|
|
|
|
+ return 'time_point time_point_animation'
|
|
|
|
|
+ }
|
|
|
|
|
+ return 'time_point'
|
|
|
|
|
+ }
|
|
|
return <View className="main-console-bg">
|
|
return <View className="main-console-bg">
|
|
|
<Image className="main_arrow" src={require('@assets/images/center_arrow.png')} />
|
|
<Image className="main_arrow" src={require('@assets/images/center_arrow.png')} />
|
|
|
<View className="main_summary">
|
|
<View className="main_summary">
|
|
|
{/* <View className="main_summary_status" style={{ color: getThemeColor(health.mode) }}>{windowStatus()}</View> */}
|
|
{/* <View className="main_summary_status" style={{ color: getThemeColor(health.mode) }}>{windowStatus()}</View> */}
|
|
|
<View className="main_summary_time" style={{ color: getWindowStatus(health.windows, health.mode) == WindowStatusType.upcoming ? '#B2B2B2' : '#000' }}>{getCountownTime(health.windows, health.mode)}
|
|
<View className="main_summary_time" style={{ color: getWindowStatus(health.windows, health.mode) == WindowStatusType.upcoming ? '#B2B2B2' : '#000' }}>{getCountownTime(health.windows, health.mode)}
|
|
|
- <View className="time_point" style={{backgroundColor:getWindowStatus(health.windows,health.mode)==WindowStatusType.upcoming?'#B2B2B2':getThemeColor(health.mode)}}/>
|
|
|
|
|
|
|
+ <View className={timePointClass()}
|
|
|
|
|
+ style={{backgroundColor:getWindowStatus(health.windows,health.mode)==WindowStatusType.upcoming?'#B2B2B2':getThemeColor(health.mode)}}/>
|
|
|
</View>
|
|
</View>
|
|
|
<Text className="main_summary_duration">Total {getDuration(health.windows, health.mode)}</Text>
|
|
<Text className="main_summary_duration">Total {getDuration(health.windows, health.mode)}</Text>
|
|
|
<View className="border_footer_line" />
|
|
<View className="border_footer_line" />
|
|
@@ -658,6 +666,7 @@ export default function MainConsole(props: { type: WindowType }) {
|
|
|
|
|
|
|
|
</View>
|
|
</View>
|
|
|
}
|
|
}
|
|
|
|
|
+ <View className="circle"/>
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
showTimePicker && modalContent()
|
|
showTimePicker && modalContent()
|