diff --git a/amnet-native/App.tsx b/amnet-native/App.tsx
index df1e7b6..0d48c5a 100644
--- a/amnet-native/App.tsx
+++ b/amnet-native/App.tsx
@@ -16,7 +16,7 @@ import {
MD3LightTheme,
MD3Theme,
PaperProvider,
- Paragraph
+ Text
} from 'react-native-paper';
import linking from "./Linking";
@@ -72,6 +72,7 @@ const {LightTheme, DarkTheme} = adaptNavigationTheme({
});
const {RealmProvider} = RealmContext;
+
const Tab = createBottomTabNavigator();
const Stack = createNativeStackNavigator();
@@ -79,17 +80,11 @@ function AppContent() {
return ( } screenOptions={{headerShown: false}}>
()
- }}/>
+ options={{tabBarIcon: ({color, size}) => ()}}/>
()
- }}/>
+ options={{tabBarIcon: ({color, size}) => ()}}/>
)
}
@@ -103,7 +98,7 @@ export default function AppRoot() {
return (
- Starting...
+ Starting...
)
}
diff --git a/amnet-native/app/CardManagerStack.tsx b/amnet-native/app/CardManagerStack.tsx
index fc99b45..4fec4ac 100644
--- a/amnet-native/app/CardManagerStack.tsx
+++ b/amnet-native/app/CardManagerStack.tsx
@@ -15,7 +15,13 @@ export default function CardManagerStack({navigation}) {
headerLargeTitle: true,
headerBlurEffect: "regular",
headerStyle: {
- backgroundColor: theme.colors.background,
+ backgroundColor: theme.colors.background
+ },
+ headerTitleStyle: {
+ fontWeight: "bold"
+ },
+ headerLargeTitleStyle: {
+ fontWeight: "bold"
}
}}>
Platform.OS === 'android' ? null : navigation.navigate('add-server')}>
-
-
+ headerRight: () => Platform.OS === 'android' ? null : navigation.navigate('add-server')}>
}}/>
diff --git a/amnet-native/tsconfig.json b/amnet-native/tsconfig.json
index 0e6371f..6f5da7e 100644
--- a/amnet-native/tsconfig.json
+++ b/amnet-native/tsconfig.json
@@ -1,4 +1,7 @@
{
- "compilerOptions": {},
+ "compilerOptions": {
+ "strictNullChecks": true,
+ "moduleResolution": "bundler"
+ },
"extends": "expo/tsconfig.base"
}