mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-10-04 12:48:02 +03:00
add deep linking support
This commit is contained in:
@@ -5,7 +5,6 @@ import {createNativeStackNavigator} from "@react-navigation/native-stack";
|
||||
|
||||
import ServerCardIn from "./ServerCardIn";
|
||||
import ServerManager from "./ServerManager";
|
||||
import ServerAddModal from "./ServerAddModal";
|
||||
|
||||
const Stack = createNativeStackNavigator();
|
||||
|
||||
@@ -31,11 +30,7 @@ export default function ServerManagerStack({navigation}) {
|
||||
</TouchableOpacity>
|
||||
}}/>
|
||||
|
||||
<Stack.Screen name="server-card-in" options={{title: "Server", headerTransparent: true}} component={ServerCardIn}/>
|
||||
</Stack.Group>
|
||||
|
||||
<Stack.Group screenOptions={{presentation: "modal"}}>
|
||||
<Stack.Screen name="add-server" component={ServerAddModal} options={{title: "Add Server"}}/>
|
||||
<Stack.Screen name="server" options={{title: "Server", headerTransparent: true}} component={ServerCardIn}/>
|
||||
</Stack.Group>
|
||||
</Stack.Navigator>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user