correct issues
This commit is contained in:
@@ -13,6 +13,7 @@ import {
|
||||
NativeModules,
|
||||
Linking,
|
||||
Alert,
|
||||
ToastAndroid,
|
||||
} from "react-native";
|
||||
import AppView from "../../components/AppView";
|
||||
import colors from "../../components/colors";
|
||||
@@ -83,7 +84,7 @@ const YourContacts = () => {
|
||||
}
|
||||
} catch (err) {
|
||||
console.error("Error sending to WhatsApp:", err);
|
||||
Alert.alert("Error", "Something went wrong while trying to open WhatsApp");
|
||||
ToastAndroid.show("Something went wrong while trying to open WhatsApp", ToastAndroid.SHORT);
|
||||
}
|
||||
|
||||
setModalVisible(false);
|
||||
|
||||
Reference in New Issue
Block a user