mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-09-22 22:28:22 +03:00
register stack in app root
This commit is contained in:
@@ -20,9 +20,8 @@ import {
|
||||
} from 'react-native-paper';
|
||||
|
||||
import CardAddModal from "./app/CardAddModal";
|
||||
import ServerManager from "./app/ServerManager";
|
||||
import CardManagerStack from "./app/CardManagerStack";
|
||||
import {StatusBar} from "expo-status-bar";
|
||||
import ServerManagerStack from "./app/ServerManagerStack";
|
||||
|
||||
// blend themes to be a combination of react-native-paper and shadcn/ui
|
||||
const AMDarkTheme: MD3Theme = {
|
||||
@@ -49,7 +48,7 @@ const Stack = createNativeStackNavigator();
|
||||
function AppContent() {
|
||||
return (<Tab.Navigator tabBar={p => <AMUITabBar {...p}/>} screenOptions={{headerShown: false}}>
|
||||
<Tab.Screen name="servers"
|
||||
component={ServerManager}
|
||||
component={ServerManagerStack}
|
||||
options={{
|
||||
title: 'Servers',
|
||||
tabBarIcon: ({color, size}) => (<Server color={color} size={size}/>)
|
||||
|
||||
Reference in New Issue
Block a user