diff --git a/android/app/build.gradle b/android/app/build.gradle index dbf733f1..334526e2 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -141,7 +141,7 @@ android { applicationId "com.betterrail" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 25 + versionCode 26 versionName "1.7.0" multiDexEnabled true } diff --git a/app/navigators/main-navigator.tsx b/app/navigators/main-navigator.tsx index 5e29f67b..be38262c 100644 --- a/app/navigators/main-navigator.tsx +++ b/app/navigators/main-navigator.tsx @@ -71,7 +71,7 @@ export function MainNavigator() { name="routeDetails" component={RouteDetailsScreen} options={{ headerTransparent: true, headerTintColor: "lightgrey", ...TransitionPresets.SlideFromRightIOS }} - sharedElements={() => ["route-header"]} + sharedElements={() => Platform.select({ ios: ["route-header"], android: [] })} /> ) diff --git a/ios/BetterRail.xcodeproj/xcshareddata/xcschemes/WatchBetterRail (Complication).xcscheme b/ios/BetterRail.xcodeproj/xcshareddata/xcschemes/WatchBetterRail (Complication).xcscheme index 4d251d32..7ee13601 100644 --- a/ios/BetterRail.xcodeproj/xcshareddata/xcschemes/WatchBetterRail (Complication).xcscheme +++ b/ios/BetterRail.xcodeproj/xcshareddata/xcschemes/WatchBetterRail (Complication).xcscheme @@ -55,10 +55,8 @@ debugServiceExtension = "internal" allowLocationSimulation = "YES" launchAutomaticallySubstyle = "32"> - + - + - + - - - - - + diff --git a/ios/BetterRail.xcodeproj/xcshareddata/xcschemes/WatchBetterRail.xcscheme b/ios/BetterRail.xcodeproj/xcshareddata/xcschemes/WatchBetterRail.xcscheme index e26afa21..7c0d3860 100644 --- a/ios/BetterRail.xcodeproj/xcshareddata/xcschemes/WatchBetterRail.xcscheme +++ b/ios/BetterRail.xcodeproj/xcshareddata/xcschemes/WatchBetterRail.xcscheme @@ -54,10 +54,8 @@ debugDocumentVersioning = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> - + - + - + - - - - - + diff --git a/ios/WatchBetterRail Extension/Models/FavoritesModel.swift b/ios/WatchBetterRail Extension/Models/FavoritesModel.swift index 7db79e66..238ebbe0 100644 --- a/ios/WatchBetterRail Extension/Models/FavoritesModel.swift +++ b/ios/WatchBetterRail Extension/Models/FavoritesModel.swift @@ -8,8 +8,8 @@ struct FavoriteRoute: Identifiable { } #if DEBUG -let fav = FavoriteRoute(id: 0, origin: stations[2], destination: stations[65]) -let fav2 = FavoriteRoute(id: 1, origin: stations[6], destination: stations[8]) +let fav = FavoriteRoute(id: 0, origin: stations[21], destination: stations[65]) +let fav2 = FavoriteRoute(id: 1, origin: stations[65], destination: stations[8]) #endif struct FavoritesModel {