-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(history): Min-ada + section 1st row #2992
Conversation
@@ -109,8 +110,7 @@ const styles = StyleSheet.create({ | |||
flex: 1, | |||
}, | |||
dayHeaderRoot: { | |||
paddingTop: 16, | |||
paddingBottom: 8, | |||
paddingBottom: 4, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
paddingTop here was causing the first row to add 16 + 8 (spacer) between the locked deposit and tx history
@@ -48,6 +48,7 @@ export const TxHistoryList = (props: Props) => { | |||
ItemSeparatorComponent={() => <Spacer height={16} />} | |||
renderSectionHeader={({section: {data}}) => <DayHeader ts={data[0].submittedAt} />} | |||
sections={groupedTransactions} | |||
renderSectionFooter={() => <Spacer height={12} />} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added the spacer here in thee footer, so the 1st row doesn't bloat blank space on screen
d5a2f49
to
ccea190
Compare
Relates to: YOMO-1102