Skip to content

Commit

Permalink
open email link without validating it
Browse files Browse the repository at this point in the history
  • Loading branch information
Svenstar74 committed Dec 6, 2023
1 parent d5e9c2b commit 771c5c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/navigation/NavigationRootDrawer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { StyleSheet, Text, View, Platform } from 'react-native';
import { Linking, StyleSheet, Text, View, Platform } from 'react-native';
import { MaterialIcons } from '@expo/vector-icons';
import { DrawerContentComponentProps } from '@react-navigation/drawer';

Expand Down Expand Up @@ -42,7 +42,7 @@ function NavigationRootDrawer({ navigation }: Props) {
{isLoggedIn && <CmButton text='LOGOUT' startIcon={<MaterialIcons name="logout" size={24} color="black" />} onPress={onLogout} />}
</View>
<View style={{ marginTop: 20 }}>
<CmButton text='FEEDBACK' startIcon={<MaterialIcons name="email" size={24} color="black" />} onPress={() => openUrl('mailto:[email protected]')} />
<CmButton text='FEEDBACK' startIcon={<MaterialIcons name="email" size={24} color="black" />} onPress={() => Linking.openURL('mailto:[email protected]')} />
</View>
</View>
</View>
Expand Down

0 comments on commit 771c5c5

Please sign in to comment.