diff --git a/android/app/build.gradle b/android/app/build.gradle index 2ad27ae2..ce184d2a 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -134,7 +134,7 @@ android { applicationId "com.betterrail" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 2 + versionCode 3 versionName "1.0" } splits { diff --git a/app/navigators/settings/settings-navigator.tsx b/app/navigators/settings/settings-navigator.tsx index 770ba5b1..f8657b8a 100644 --- a/app/navigators/settings/settings-navigator.tsx +++ b/app/navigators/settings/settings-navigator.tsx @@ -17,7 +17,6 @@ export const SettingsNavigator = () => ( stackPresentation: "modal", headerTintColor: color.primary, headerStatusBarHeight: Platform.select({ ios: 10, android: 5 }), - headerTitleStyle: { fontSize: 20, fontFamily: typography.primary, fontWeight: "400", marginRight: 10, marginBottom: 10 }, headerBackTitleStyle: { fontFamily: typography.primary }, }} > @@ -26,6 +25,10 @@ export const SettingsNavigator = () => ( component={SettingsScreen} options={({ navigation }) => ({ title: "הגדרות", + headerTitleStyle: Platform.select({ + ios: { fontSize: 20, fontFamily: typography.primary, fontWeight: "400", marginRight: 10, marginBottom: 10 }, + android: { marginLeft: -18.5, marginBottom: 10 }, + }), headerLeft: () => navigation.goBack()} />, })} /> diff --git a/app/screens/settings/settings-screen.tsx b/app/screens/settings/settings-screen.tsx index d0fb71b8..e2669792 100644 --- a/app/screens/settings/settings-screen.tsx +++ b/app/screens/settings/settings-screen.tsx @@ -35,18 +35,20 @@ const storeLink = Platform.select({ ios: "https://apps.apple.com/app/better-rail export const SettingsScreen = observer(function SettingsScreen() { return ( - - - Share.share({ message: "Better Rail - האלטרנטיבה לאפליקציית רכבת ישראל", url: "https://better-rail.co.il" }) - } - /> - {Platform.OS === "ios" && Linking.openURL(storeLink)} />} - + {Platform.OS === "ios" && ( + + + Share.share({ message: "Better Rail - האלטרנטיבה לאפליקציית רכבת ישראל", url: "https://better-rail.co.il" }) + } + /> + Linking.openURL(storeLink)} /> + + )}