Commit 9390e047 by tungnq

TODO: Bổ ẩn các indicators trong scroll view

parent ce49f291
...@@ -18,7 +18,6 @@ const CompensateRegisterView = props => { ...@@ -18,7 +18,6 @@ const CompensateRegisterView = props => {
const {isShow, setShowSchedule, scheduleData, onCheckboxChange} = props; const {isShow, setShowSchedule, scheduleData, onCheckboxChange} = props;
const getCheckColor = (item) => { const getCheckColor = (item) => {
console.log(item?.totalSession);
if ( item?.breakTime=== item?.totalSession && item?.percent === '100%') { if ( item?.breakTime=== item?.totalSession && item?.percent === '100%') {
return R.colors.blue; return R.colors.blue;
} }
...@@ -113,7 +112,7 @@ const CompensateRegisterView = props => { ...@@ -113,7 +112,7 @@ const CompensateRegisterView = props => {
return ( return (
<View style={styles.container}> <View style={styles.container}>
<Header title={'Đăng kí báo bù'} isBack /> <Header title={'Đăng kí báo bù'} isBack />
<ScrollView> <ScrollView showsVerticalScrollIndicator={false}>
<View style={styles.body}> <View style={styles.body}>
<View style={styles.containerInput}> <View style={styles.containerInput}>
<TextField <TextField
...@@ -211,7 +210,9 @@ const CompensateRegisterView = props => { ...@@ -211,7 +210,9 @@ const CompensateRegisterView = props => {
/> />
</View> </View>
<ScrollView horizontal>{renderSchedule()}</ScrollView> <ScrollView
showsHorizontalScrollIndicator={false}
horizontal>{renderSchedule()}</ScrollView>
</View> </View>
</ScrollView> </ScrollView>
</View> </View>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment