NTP-42949 | Sohan | Fix for login redirection from deeplink (#15417)

Co-authored-by: kishan kumar <kishan.kumar@navi.com>
This commit is contained in:
Sohan Reddy Atukula
2025-03-18 17:51:08 +05:30
committed by GitHub
parent f21026190b
commit fa4ca9ca3f

View File

@@ -227,11 +227,19 @@ constructor(
) {
activity.lifecycleScope.launch {
homePageResponseFetchJob.join()
goToNextScreen(
nextCta = nextCta ?: CtaData(url = HOME_SMALL),
activity = activity,
homeVM = homeVM,
)
if (nextCta?.url.isNullOrEmpty()) {
goToNextScreen(
nextCta = CtaData(url = HOME_SMALL),
activity = activity,
homeVM = homeVM,
)
} else {
goToNextScreen(
nextCta = nextCta ?: CtaData(url = HOME_SMALL),
activity = activity,
homeVM = homeVM,
)
}
}
}