For #15150: Do not show open banner if open in app is ON in settings.
This commit is contained in:
parent
80a573a62c
commit
cc9667f722
|
@ -36,10 +36,12 @@ class OpenInAppOnboardingObserver(
|
|||
}
|
||||
}
|
||||
|
||||
@Suppress("ComplexCondition")
|
||||
override fun onLoadingStateChanged(session: Session, loading: Boolean) {
|
||||
val appLink = appLinksUseCases.appLinkRedirect
|
||||
|
||||
if (!loading &&
|
||||
!settings.openLinksInExternalApp &&
|
||||
settings.shouldShowOpenInAppBanner &&
|
||||
appLink(session.url).hasExternalApp()
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user