Add copyright notice and link to ProfileScreen, including styling for copyright text and link.
This commit is contained in:
@@ -9,6 +9,7 @@ import {
|
|||||||
Alert,
|
Alert,
|
||||||
ActivityIndicator,
|
ActivityIndicator,
|
||||||
RefreshControl,
|
RefreshControl,
|
||||||
|
Linking,
|
||||||
} from 'react-native';
|
} from 'react-native';
|
||||||
import { StatusBar } from 'expo-status-bar';
|
import { StatusBar } from 'expo-status-bar';
|
||||||
import { Ionicons } from '@expo/vector-icons';
|
import { Ionicons } from '@expo/vector-icons';
|
||||||
@@ -362,6 +363,21 @@ const ProfileScreen = () => {
|
|||||||
</View>
|
</View>
|
||||||
|
|
||||||
<View style={styles.bottomSpacing} />
|
<View style={styles.bottomSpacing} />
|
||||||
|
|
||||||
|
{/* Copyright */}
|
||||||
|
<Text style={styles.copyrightText}>
|
||||||
|
Copyright{' '}
|
||||||
|
<Text
|
||||||
|
style={styles.link}
|
||||||
|
onPress={() => Linking.openURL('https://webulgam.com')}
|
||||||
|
>
|
||||||
|
Webulgam IT Company
|
||||||
|
</Text>{' '}
|
||||||
|
© {new Date().getFullYear()}.
|
||||||
|
</Text>
|
||||||
|
<Text style={styles.copyrightText}>
|
||||||
|
Ähli hukular goralan.
|
||||||
|
</Text>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|
||||||
{/* Edit Profile Modal */}
|
{/* Edit Profile Modal */}
|
||||||
@@ -526,6 +542,14 @@ const styles = StyleSheet.create({
|
|||||||
bottomSpacing: {
|
bottomSpacing: {
|
||||||
height: 24,
|
height: 24,
|
||||||
},
|
},
|
||||||
|
copyrightText: {
|
||||||
|
fontSize: 12,
|
||||||
|
color: COLORS.textSecondary,
|
||||||
|
textAlign: 'center',
|
||||||
|
},
|
||||||
|
link: {
|
||||||
|
color: COLORS.primary,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
export default ProfileScreen;
|
export default ProfileScreen;
|
||||||
Reference in New Issue
Block a user