Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
InvestCustomer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Giang Tran
InvestCustomer
Commits
67cfa329
Commit
67cfa329
authored
Jul 02, 2021
by
Giang Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug calendar
parent
0ecbd2b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
build.gradle
android/app/build.gradle
+2
-2
Calendar.js
src/Screens/NewFeed/Calendar/Calendar.js
+7
-6
No files found.
android/app/build.gradle
View file @
67cfa329
...
@@ -132,8 +132,8 @@ android {
...
@@ -132,8 +132,8 @@ android {
applicationId
"com.dcv.invest"
applicationId
"com.dcv.invest"
minSdkVersion
rootProject
.
ext
.
minSdkVersion
minSdkVersion
rootProject
.
ext
.
minSdkVersion
targetSdkVersion
rootProject
.
ext
.
targetSdkVersion
targetSdkVersion
rootProject
.
ext
.
targetSdkVersion
versionCode
1
8
versionCode
1
9
versionName
"2.
2
"
versionName
"2.
3
"
vectorDrawables
.
useSupportLibrary
=
true
vectorDrawables
.
useSupportLibrary
=
true
}
}
splits
{
splits
{
...
...
src/Screens/NewFeed/Calendar/Calendar.js
View file @
67cfa329
...
@@ -48,18 +48,19 @@ const NewFeed = (props) => {
...
@@ -48,18 +48,19 @@ const NewFeed = (props) => {
index
=
i
;
index
=
i
;
break
;
break
;
}
else
{
}
else
{
index
=
30
-
today
.
substring
(
8
);
index
=
data
.
length
-
today
.
substring
(
8
);
}
}
}
}
setTimeout
(()
=>
{
setTimeout
(()
=>
{
ListDayRef
.
current
.
scrollToIndex
({
if
(
index
>
0
)
{
animated
:
true
,
ListDayRef
.
current
.
scrollToIndex
({
index
:
index
,
animated
:
true
,
});
index
:
index
,
});
}
},
200
);
},
200
);
}
}
};
};
const
getItemLayout
=
(
data
,
index
)
=>
({
const
getItemLayout
=
(
data
,
index
)
=>
({
length
:
100
,
length
:
100
,
offset
:
50
*
index
,
offset
:
50
*
index
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment