Commit 9390e047 by tungnq

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

parent ce49f291
......@@ -18,7 +18,6 @@ const CompensateRegisterView = props => {
const {isShow, setShowSchedule, scheduleData, onCheckboxChange} = props;
const getCheckColor = (item) => {
console.log(item?.totalSession);
if ( item?.breakTime=== item?.totalSession && item?.percent === '100%') {
return R.colors.blue;
}
......@@ -113,7 +112,7 @@ const CompensateRegisterView = props => {
return (
<View style={styles.container}>
<Header title={'Đăng kí báo bù'} isBack />
<ScrollView>
<ScrollView showsVerticalScrollIndicator={false}>
<View style={styles.body}>
<View style={styles.containerInput}>
<TextField
......@@ -211,7 +210,9 @@ const CompensateRegisterView = props => {
/>
</View>
<ScrollView horizontal>{renderSchedule()}</ScrollView>
<ScrollView
showsHorizontalScrollIndicator={false}
horizontal>{renderSchedule()}</ScrollView>
</View>
</ScrollView>
</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