From d42ee39cd1d97be750fadf18eccd4cf9c01d00f3 Mon Sep 17 00:00:00 2001 From: Abdourahamane Boinaidi Date: Fri, 27 Dec 2024 06:24:59 +0100 Subject: [PATCH] fix: Deeplink for urls in prod doesn't work --- .../swisstransfer/ui/navigation/NavigationDestination.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/navigation/NavigationDestination.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/navigation/NavigationDestination.kt index d64ea89fa..3834a6b73 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/navigation/NavigationDestination.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/navigation/NavigationDestination.kt @@ -47,7 +47,7 @@ sealed class MainNavigation : NavigationDestination() { companion object { fun NavGraphBuilder.receivedDestination(content: @Composable (AnimatedContentScope.(NavBackStackEntry) -> Unit)) { val preprodBasePath = "${BuildConfig.PREPROD_URL}/d/{${ReceivedDestination::transferUuid.name}}" - val prodBasePath = "${BuildConfig.PROD_URL}/d/${ReceivedDestination::transferUuid.name}" + val prodBasePath = "${BuildConfig.PROD_URL}/d/{${ReceivedDestination::transferUuid.name}}" val deepLinks = listOf( navDeepLink(preprodBasePath), navDeepLink(prodBasePath),