mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-10-08 22:50:03 +03:00
fix non-bold header on ios
This commit is contained in:
@@ -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}/>
|
||||
|
||||
Reference in New Issue
Block a user