()
| 88 | * Check whether to show the remote callout (first-time dialog). |
| 89 | */ |
| 90 | export function shouldShowRemoteCallout(): boolean { |
| 91 | const config = getGlobalConfig() |
| 92 | return shouldShowRemoteCalloutForState({ |
| 93 | remoteDialogSeen: Boolean(config.remoteDialogSeen), |
| 94 | bridgeEnabled: isBridgeEnabled(), |
| 95 | session: getAuthRuntime().getCurrentSession(), |
| 96 | }) |
| 97 | } |
| 98 | |
| 99 | export function shouldShowRemoteCalloutForState(params: { |
| 100 | remoteDialogSeen: boolean |
no test coverage detected