Skip to content

Commit 81310c7

Browse files
committed
add version information
1 parent abb29bb commit 81310c7

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/components/HelpSection/HelpSection.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
1212
import { useTranslation } from 'react-i18next';
1313
import { useTheme } from '../../hooks';
1414
import BlurOverlay from '../../BlurOverlay';
15+
import packageJson from '../../../package.json';
1516

1617
const HelpSection = (props: {
1718
actionStatus: (status: boolean) => void;
@@ -126,6 +127,14 @@ const HelpSection = (props: {
126127
}
127128
/>
128129
</TouchableOpacity>
130+
<Text
131+
style={[
132+
Fonts.textTiny,
133+
Fonts.textCenter
134+
]}
135+
>
136+
v{packageJson.version}
137+
</Text>
129138
</View>
130139
<View style={[Layout.justifyContentEnd]}>
131140
<TouchableOpacity

0 commit comments

Comments
 (0)