-
Notifications
You must be signed in to change notification settings - Fork 262
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
Paul/fix exchange scenes #4739
Paul/fix exchange scenes #4739
Conversation
85c0699
to
88c4326
Compare
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.
Test on iPad sim to make sure the padding is correct during rotated orientations
sceneMargin | ||
/> | ||
{({ insetStyle }) => ( | ||
<View style={{ paddingBottom: insetStyle.paddingBottom, width: '100%', height: '100%' }}> |
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.
Why the extra view instead of using the one with styles.container
?
Also, why only use paddingBottom
from insetStyle? Using all of the rules usually means we're avoiding insets on left/right and even top sides of the device (e.g. for rotated iPad devices)
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.
The extra View covers all the content including the button at the bottom while the inner View is just the text and spinner.
I didn't actually need the insets at all since all the content is centered. Removed.
renderItem={this.renderPlugin} | ||
keyExtractor={(item: GuiPluginRow) => item.pluginId + item.title} | ||
contentContainerStyle={{ ...insetStyle, paddingTop: 0 }} | ||
contentContainerStyle={{ paddingTop: 0 }} |
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.
Remove
4e27e11
to
bc0b749
Compare
bc0b749
to
0dcfcb5
Compare
/rebase |
0dcfcb5
to
f486edc
Compare
f486edc
to
f351efc
Compare
This allows the header to be transparent on scroll. Also just uses less views.
- Add animations - Fix margin above Next button - Make Next button primary
- Add animation - Increase font size - Decrease long wait time to 10s
- Use the SceneWrapper scrollview - Add animations - Reduce slider marginTop
And use the SceneWrapper so content can go under translucent header
f351efc
to
46db58a
Compare
CHANGELOG
Does this branch warrant an entry to the CHANGELOG?
Dependencies
noneRequirements
If you have made any visual changes to the GUI. Make sure you have: