Skip to content

Commit

Permalink
fix: [#173977842] fixes the title under bonus card (#2092)
Browse files Browse the repository at this point in the history
* [#173977842] fixes the title under bonus card

* [#173977842] Refactoring

Co-authored-by: Matteo Boschi <[email protected]>
  • Loading branch information
CrisTofani and Undermaken authored Jul 24, 2020
1 parent 35adc07 commit ed1c26d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ts/features/bonusVacanze/screens/ActiveBonusScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ const styles = StyleSheet.create({
},
commonLabel: {
lineHeight: 18
}
},
headerSpacer: { height: 154 }
});

async function readBase64Svg(bonusWithQrCode: BonusActivationWithQrCode) {
Expand Down Expand Up @@ -366,9 +367,10 @@ const ActiveBonusScreen: React.FunctionComponent<Props> = (props: Props) => {
contextualHelpMarkdown={contextualHelpMarkdown}
faqCategories={["bonus_detail"]}
allowGoBack={true}
topContent={<View style={{ height: 90 }} />}
topContent={<View style={styles.headerSpacer} />}
footerContent={renderFooterButtons()}
gradientHeader={true}
hideHeader={true}
>
<View>
<View style={[styles.paddedContentLeft, styles.paddedContentRight]}>
Expand Down

0 comments on commit ed1c26d

Please sign in to comment.