From 51e5518b520313b3bfba70edae2d41c6c5e3bb55 Mon Sep 17 00:00:00 2001 From: LBlend Date: Wed, 3 Apr 2024 03:21:46 +0200 Subject: [PATCH] use new logo on membership proof screen --- src/modules/membership/Proof.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/modules/membership/Proof.js b/src/modules/membership/Proof.js index 49b06cc..125f01d 100644 --- a/src/modules/membership/Proof.js +++ b/src/modules/membership/Proof.js @@ -8,6 +8,7 @@ import { View, RefreshControl, ActivityIndicator, + Dimensions, } from 'react-native'; import { Button } from 'react-native-ui-lib'; import Confetti from 'react-native-confetti'; @@ -15,6 +16,8 @@ import Confetti from 'react-native-confetti'; import theme from '../../theme'; import useProof from './useProof'; +import logo from '../../../assets/CN-logo-hel-svart.png'; + const MembershipValidTo = ({ user }) => { if (!user.last_membership) { return null; @@ -95,11 +98,7 @@ const Logo = ({ user }) => { return ( - + ); }; @@ -263,4 +262,10 @@ const styles = StyleSheet.create({ textAlign: 'center', color: theme.colors.danger, }, + logo: { + margin: 10, + resizeMode: 'contain', + width: Dimensions.get('window').width * 0.8, // 80% of screen width + alignSelf: 'center', + }, });