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,
|
||||
ActivityIndicator,
|
||||
RefreshControl,
|
||||
Linking,
|
||||
} from 'react-native';
|
||||
import { StatusBar } from 'expo-status-bar';
|
||||
import { Ionicons } from '@expo/vector-icons';
|
||||
@@ -362,6 +363,21 @@ const ProfileScreen = () => {
|
||||
</View>
|
||||
|
||||
<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>
|
||||
|
||||
{/* Edit Profile Modal */}
|
||||
@@ -526,6 +542,14 @@ const styles = StyleSheet.create({
|
||||
bottomSpacing: {
|
||||
height: 24,
|
||||
},
|
||||
copyrightText: {
|
||||
fontSize: 12,
|
||||
color: COLORS.textSecondary,
|
||||
textAlign: 'center',
|
||||
},
|
||||
link: {
|
||||
color: COLORS.primary,
|
||||
},
|
||||
});
|
||||
|
||||
export default ProfileScreen;
|
||||
Reference in New Issue
Block a user