Add copyright notice and link to ProfileScreen, including styling for copyright text and link.

This commit is contained in:
2025-09-10 21:04:08 +05:00
parent 4630b195b9
commit b9b604167b

View File

@@ -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;