correct issues
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
||||
Alert,
|
||||
FlatList,
|
||||
ListRenderItem,
|
||||
ToastAndroid,
|
||||
} from "react-native";
|
||||
import AppView from "../../components/AppView";
|
||||
import colors from "../../components/colors";
|
||||
@@ -97,7 +98,7 @@ const Home: React.FC = () => {
|
||||
} else if (item.action === "NAVIGATE_CREATE_GROUP") {
|
||||
navigation.navigate("GroupCreation" as never);
|
||||
} else {
|
||||
Alert.alert("Unknown action", item.title);
|
||||
ToastAndroid.show(`Unknown action: ${item.title}`, ToastAndroid.SHORT);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user