use new logo on membership proof screen

This commit is contained in:
LBlend committed 2024-04-03 03:21:46 +02:00
1 parent 605497fa6a
commit 51e5518b52
1 file changed
+10 -5
+10 -5
View File
@@ -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 (
<View style={{ marginTop: 8 }}>
<Image
style={{ width: null, height: 100 }}
source={{ uri: 'https://galtinn.neuf.no/static/dist/images/logo.png' }}
resizeMode="contain"
/>
<Image style={styles.logo} source={logo} />
</View>
);
};
@@ -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',
},
});