Files
upstream-jitsi-meet/react/features/recording/actions.native.ts
upstream-mirror 1d2bfcac0c
Some checks failed
Prosody Plugin Tests / test (push) Failing after 10m11s
Close stale issues and PRs / stale (push) Failing after 1s
snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
2026-09-15 15:56:32 +05:00

34 lines
1008 B
TypeScript

import { IStore } from '../app/types';
import { openSheet } from '../base/dialog/actions';
import { navigate } from '../mobile/navigation/components/conference/ConferenceNavigationContainerRef';
import { screen } from '../mobile/navigation/routes';
import { showStartRecordingNotificationWithCallback } from './actions.any';
import HighlightDialog from './components/Recording/native/HighlightDialog';
export * from './actions.any';
/**
* Opens the highlight dialog.
*
* @returns {Function}
*/
export function openHighlightDialog() {
return (dispatch: IStore['dispatch']) => {
dispatch(openSheet(HighlightDialog));
};
}
/**
* Displays the notification suggesting to start the recording.
*
* @returns {void}
*/
export function showStartRecordingNotification() {
return (dispatch: IStore['dispatch']) => {
const openDialogCallback = () => navigate(screen.conference.recording);
dispatch(showStartRecordingNotificationWithCallback(openDialogCallback));
};
}