Commit 4d4a03d6 by Nguyễn Thị Thúy

Merge remote-tracking branch 'origin/build_01_July' into build_01_July

parents 0d96da5a 67cfa329
......@@ -132,8 +132,8 @@ android {
applicationId "com.dcv.invest"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 18
versionName "2.2"
versionCode 19
versionName "2.3"
vectorDrawables.useSupportLibrary = true
}
splits {
......
......@@ -48,18 +48,19 @@ const NewFeed = (props) => {
index = i;
break;
} else {
index = 30 - today.substring(8);
index = data.length - today.substring(8);
}
}
setTimeout(() => {
ListDayRef.current.scrollToIndex({
animated: true,
index: index,
});
if (index > 0) {
ListDayRef.current.scrollToIndex({
animated: true,
index: index,
});
}
}, 200);
}
};
const getItemLayout = (data, index) => ({
length: 100,
offset: 50 * index,
......
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