Skip to content

Commit

Permalink
style: reduce size of Aztek (#4871)
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansberg committed Dec 11, 2024
1 parent 351cc27 commit 00e5c98
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/fare-contracts/details/Barcode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,13 @@ const MobileTokenAztec = ({fc}: {fc: FareContract}) => {
}

return (
<View style={{alignItems: 'center'}}>
<View
style={styles.aztecCode}
accessible={true}
accessibilityLabel={t(FareContractTexts.details.barcodeA11yLabel)}
testID="mobileTokenBarcode"
>
<SvgXml xml={aztecXml} width="100%" height="100%" />
</View>
<View
style={styles.aztecCode}
accessible={true}
accessibilityLabel={t(FareContractTexts.details.barcodeA11yLabel)}
testID="mobileTokenBarcode"
>
<SvgXml xml={aztecXml} width="100%" height="100%" />
</View>
);
};
Expand Down Expand Up @@ -257,6 +255,7 @@ const useStyles = StyleSheet.createThemeHook((theme) => ({
aspectRatio: 1,
padding: theme.spacing.large,
backgroundColor: '#FFFFFF',
maxHeight: 275,
},
staticBottomContainer: {
flex: 1,
Expand Down

0 comments on commit 00e5c98

Please sign in to comment.