NTP-34241 | Houston 34241 redirection fix (#14776)
Co-authored-by: saksham <saksham>
This commit is contained in:
@@ -248,6 +248,8 @@ class FundBuyActivity :
|
||||
actionData?.url?.let { url ->
|
||||
if (url == "back") {
|
||||
navigateBack()
|
||||
} else if (navigationNotNeeded(url)) {
|
||||
return
|
||||
} else {
|
||||
val requestCodeForResult = needActivityResultCode(url)
|
||||
actionData.toNavigateAmcModule(
|
||||
@@ -556,4 +558,9 @@ class FundBuyActivity :
|
||||
}
|
||||
return super.shouldDismissKeyboardOnFocusChange()
|
||||
}
|
||||
|
||||
private fun navigationNotNeeded(url: String): Boolean {
|
||||
val ignoredUrls = listOf(Constant.DISMISS, Constant.DISMISS_CAPITAL)
|
||||
return ignoredUrls.contains(url)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user