fix non-bold header on ios

This commit is contained in:
ppc
2025-07-29 15:50:20 +01:00
parent 1d0e40961c
commit 591680d521
4 changed files with 23 additions and 16 deletions
+7 -4
View File
@@ -18,16 +18,19 @@ export default function ServerManagerStack({navigation}) {
headerBlurEffect: "regular",
headerStyle: {
backgroundColor: theme.colors.background
},
headerTitleStyle: {
fontWeight: "bold"
},
headerLargeTitleStyle: {
fontWeight: "bold"
}
}}>
<Stack.Screen name="server-listing"
component={ServerManager}
options={{
title: "Servers",
headerRight: () => Platform.OS === 'android' ? null : <TouchableOpacity
onPress={() => navigation.navigate('add-server')}>
<Plus/>
</TouchableOpacity>
headerRight: () => Platform.OS === 'android' ? null : <TouchableOpacity onPress={() => navigation.navigate('add-server')}><Plus/></TouchableOpacity>
}}/>
<Stack.Screen name="server" options={{title: "Server", headerTransparent: true}} component={ServerCardIn}/>