Skip to content

Commit

Permalink
feat: Add "About this app" section to settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
thoulee21 committed Sep 7, 2024
1 parent 2414308 commit 304f823
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/pages/settings.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useNavigation } from '@react-navigation/native';
import React from 'react';
import { ScrollView, StyleSheet } from 'react-native';
import { Alert, ScrollView, StyleSheet } from 'react-native';
import HapticFeedback, {
HapticFeedbackTypes
} from 'react-native-haptic-feedback';
Expand Down Expand Up @@ -38,6 +38,15 @@ export function Settings() {

<List.Section title="General">
<VersionItem />
<List.Item
title="About this app"
onPress={() => {
Alert.alert(
'Image Viewer',
'[email protected]\nCopyright©2024 thouLee. All Rights Reserved.'
);
}}
/>
</List.Section>
</ScrollView>
</BlurBackground>
Expand Down

0 comments on commit 304f823

Please sign in to comment.