diff --git a/amnet-native/app/ServerCardIn.tsx b/amnet-native/app/ServerCardIn.tsx index 1331fb6..c0da8da 100644 --- a/amnet-native/app/ServerCardIn.tsx +++ b/amnet-native/app/ServerCardIn.tsx @@ -217,17 +217,10 @@ export default function ServerCardIn({route, navigation}) { ) } - const containerStyle = { - paddingTop: Platform.OS === 'android' ? insets.top : 0, - paddingHorizontal: 16, - paddingBottom: 80, - gap: 20 - }; - return ( - }> - + {server.gameId ? `Play ${getGameName(server.gameId)}` : "Selected Card"} @@ -364,5 +357,11 @@ const styles = { emptyPlaceholderView: { marginVertical: 30, gap: 15 + }, + container: { + paddingTop: Platform.select({android: 18, default: 0}), + paddingHorizontal: 16, + paddingBottom: 80, + gap: 20 } }; diff --git a/amnet-native/app/ServerManagerStack.tsx b/amnet-native/app/ServerManagerStack.tsx index e4141cc..d9a7f09 100644 --- a/amnet-native/app/ServerManagerStack.tsx +++ b/amnet-native/app/ServerManagerStack.tsx @@ -33,7 +33,7 @@ export default function ServerManagerStack({navigation}) { headerRight: () => Platform.OS === 'android' ? null : navigation.navigate('add-server')}> }}/> - + );