Skip to content

Commit

Permalink
Fix exchange quote layout
Browse files Browse the repository at this point in the history
- Set hasTabs
- FIx margins
  • Loading branch information
paullinator committed Aug 10, 2023
1 parent d77289b commit de10f0f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
exports[`CryptoExchangeQuoteScreenComponent should render with loading props 1`] = `
<NotificationSceneWrapper
background="theme"
hasTabs={true}
navigation={
{
"addListener": [Function],
Expand Down
8 changes: 4 additions & 4 deletions src/components/scenes/CryptoExchangeQuoteScene.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class CryptoExchangeQuoteScreenComponent extends React.Component<Props, S
const styles = getStyles(theme)

return (
<NotificationSceneWrapper navigation={navigation} background="theme">
<NotificationSceneWrapper hasTabs navigation={navigation} background="theme">
{(gap, notificationHeight) => (
<>
<SceneHeader title={lstrings.title_exchange} underline withTopMargin />
Expand Down Expand Up @@ -172,7 +172,7 @@ export class CryptoExchangeQuoteScreenComponent extends React.Component<Props, S
title={lstrings.estimated_quote}
message={lstrings.estimated_exchange_message}
type="warning"
marginRem={[1.5, 1]}
marginRem={[1, 1]}
onPress={this.showExplanationForEstimate}
/>
)}
Expand Down Expand Up @@ -217,8 +217,8 @@ const getStyles = cacheStyles((theme: Theme) => ({
alignItems: 'center'
},
slider: {
marginTop: theme.rem(2.5),
marginBottom: theme.rem(2)
marginTop: theme.rem(0.5),
marginBottom: theme.rem(1)
},
spacer: {
height: theme.rem(8)
Expand Down

0 comments on commit de10f0f

Please sign in to comment.