jitsi-meet/react/features/overlay/actions.native.ts
theluyuan 38ba663466
Some checks failed
Close stale issues and PRs / stale (push) Has been cancelled
init
2025-09-02 14:49:16 +08:00

22 lines
768 B
TypeScript

import { ConnectionFailedError } from '../base/connection/types';
import { openDialog } from '../base/dialog/actions';
import PageReloadDialog from '../base/dialog/components/native/PageReloadDialog';
/**
* Opens {@link PageReloadDialog}.
*
* @param {Error} conferenceError - The conference error that caused the reload.
* @param {Error} configError - The conference error that caused the reload.
* @param {Error} connectionError - The conference error that caused the reload.
* @returns {Function}
*/
export function openPageReloadDialog(
conferenceError?: Error, configError?: Error, connectionError?: ConnectionFailedError) {
return openDialog(PageReloadDialog, {
conferenceError,
configError,
connectionError
});
}