Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Rearrange recording feature files
Bettenbuk Zoltan71edea8aac47
diff --git a/react/features/recording/components/LiveStream/AbstractLiveStreamButton.js b/react/features/recording/components/LiveStream/AbstractLiveStreamButton.jsindex 02cdb51cbb..445d027b55 100644--- a/react/features/recording/components/LiveStream/AbstractLiveStreamButton.js+++ b/react/features/recording/components/LiveStream/AbstractLiveStreamButton.js@@ -10,8 +10,10 @@ import {import { getActiveSession } from '../../functions';-import StartLiveStreamDialog from './StartLiveStreamDialog';-import StopLiveStreamDialog from './StopLiveStreamDialog';+import {+ StartLiveStreamDialog,+ StopLiveStreamDialog+} from './_';/*** The type of the React {@code Component} props ofdiff --git a/react/features/recording/components/LiveStream/GoogleSigninForm.web.js b/react/features/recording/components/LiveStream/GoogleSigninForm.web.jsdeleted file mode 100644index e69de29bb2..0000000000diff --git a/react/features/recording/components/LiveStream/_.native.js b/react/features/recording/components/LiveStream/_.native.jsnew file mode 100644index 0000000000..a32ec60612--- /dev/null+++ b/react/features/recording/components/LiveStream/_.native.js@@ -0,0 +1,3 @@+// @flow++export * from './native';diff --git a/react/features/recording/components/LiveStream/_.web.js b/react/features/recording/components/LiveStream/_.web.jsnew file mode 100644index 0000000000..40d5f46528--- /dev/null+++ b/react/features/recording/components/LiveStream/_.web.js@@ -0,0 +1,3 @@+// @flow++export * from './web';diff --git a/react/features/recording/components/LiveStream/index.js b/react/features/recording/components/LiveStream/index.jsindex 07b9ab7b6a..bf0c7deb0e 100644--- a/react/features/recording/components/LiveStream/index.js+++ b/react/features/recording/components/LiveStream/index.js@@ -1,3 +1,3 @@-export { default as LiveStreamButton } from './LiveStreamButton';-export { default as StartLiveStreamDialog } from './StartLiveStreamDialog';-export { default as StopLiveStreamDialog } from './StopLiveStreamDialog';+// @flow++export * from './_';diff --git a/react/features/recording/components/LiveStream/GoogleSigninForm.native.js b/react/features/recording/components/LiveStream/native/GoogleSigninForm.jssimilarity index 98%rename from react/features/recording/components/LiveStream/GoogleSigninForm.native.jsrename to react/features/recording/components/LiveStream/native/GoogleSigninForm.jsindex 40efe80cfe..131d51a2bb 100644--- a/react/features/recording/components/LiveStream/GoogleSigninForm.native.js+++ b/react/features/recording/components/LiveStream/native/GoogleSigninForm.js@@ -4,7 +4,7 @@ import React, { Component } from 'react';import { Platform, Text, View } from 'react-native';import { connect } from 'react-redux';-import { translate } from '../../../base/i18n';+import { translate } from '../../../../base/i18n';import {GOOGLE_API_STATES,@@ -12,7 +12,7 @@ import {googleApi,GoogleSignInButton,setGoogleAPIState-} from '../../../google-api';+} from '../../../../google-api';import styles from './styles';diff --git a/react/features/recording/components/LiveStream/LiveStreamButton.native.js b/react/features/recording/components/LiveStream/native/LiveStreamButton.jssimilarity index 81%rename from react/features/recording/components/LiveStream/LiveStreamButton.native.jsrename to react/features/recording/components/LiveStream/native/LiveStreamButton.jsindex 5e13f58ea2..d43579793f 100644--- a/react/features/recording/components/LiveStream/LiveStreamButton.native.js+++ b/react/features/recording/components/LiveStream/native/LiveStreamButton.js@@ -2,12 +2,12 @@import { connect } from 'react-redux';-import { translate } from '../../../base/i18n';+import { translate } from '../../../../base/i18n';import AbstractLiveStreamButton, {_mapStateToProps,type Props-} from './AbstractLiveStreamButton';+} from '../AbstractLiveStreamButton';/*** An implementation of a button for starting and stopping live streaming.diff --git a/react/features/recording/components/LiveStream/StartLiveStreamDialog.native.js b/react/features/recording/components/LiveStream/native/StartLiveStreamDialog.jssimilarity index 94%rename from react/features/recording/components/LiveStream/StartLiveStreamDialog.native.jsrename to react/features/recording/components/LiveStream/native/StartLiveStreamDialog.jsindex 0e0bcfb993..4ad93bdb8b 100644--- a/react/features/recording/components/LiveStream/StartLiveStreamDialog.native.js+++ b/react/features/recording/components/LiveStream/native/StartLiveStreamDialog.js@@ -4,14 +4,15 @@ import React from 'react';import { View } from 'react-native';import { connect } from 'react-redux';-import { translate } from '../../../base/i18n';-import { googleApi } from '../../../google-api';+import { translate } from '../../../../base/i18n';+import { googleApi } from '../../../../google-api';-import { setLiveStreamKey } from '../../actions';+import { setLiveStreamKey } from '../../../actions';import AbstractStartLiveStreamDialog,-{ _mapStateToProps, type Props } from './AbstractStartLiveStreamDialog';+{ _mapStateToProps, type Props } from '../AbstractStartLiveStreamDialog';+import GoogleSigninForm from './GoogleSigninForm';import StreamKeyForm from './StreamKeyForm';import StreamKeyPicker from './StreamKeyPicker';diff --git a/react/features/recording/components/LiveStream/StopLiveStreamDialog.native.js b/react/features/recording/components/LiveStream/native/StopLiveStreamDialog.jssimilarity index 83%rename from react/features/recording/components/LiveStream/StopLiveStreamDialog.native.jsrename to react/features/recording/components/LiveStream/native/StopLiveStreamDialog.jsindex 764a7c4f85..808b857a4e 100644--- a/react/features/recording/components/LiveStream/StopLiveStreamDialog.native.js+++ b/react/features/recording/components/LiveStream/native/StopLiveStreamDialog.js@@ -3,12 +3,12 @@import React from 'react';import { connect } from 'react-redux';-import { DialogContent } from '../../../base/dialog';-import { translate } from '../../../base/i18n';+import { DialogContent } from '../../../../base/dialog';+import { translate } from '../../../../base/i18n';import AbstractStopLiveStreamDialog, {_mapStateToProps-} from './AbstractStopLiveStreamDialog';+} from '../AbstractStopLiveStreamDialog';/*** A React Component for confirming the participant wishes to stop the currentlydiff --git a/react/features/recording/components/LiveStream/StreamKeyForm.native.js b/react/features/recording/components/LiveStream/native/StreamKeyForm.jssimilarity index 96%rename from react/features/recording/components/LiveStream/StreamKeyForm.native.jsrename to react/features/recording/components/LiveStream/native/StreamKeyForm.jsindex 409fc4efc6..91606ff627 100644--- a/react/features/recording/components/LiveStream/StreamKeyForm.native.js+++ b/react/features/recording/components/LiveStream/native/StreamKeyForm.js@@ -3,11 +3,12 @@import React from 'react';import { Linking, Text, TextInput, TouchableOpacity, View } from 'react-native';-import { translate } from '../../../base/i18n';+import { translate } from '../../../../base/i18n';import AbstractStreamKeyForm, {type Props-} from './AbstractStreamKeyForm';+} from '../AbstractStreamKeyForm';+import styles from './styles';/**diff --git a/react/features/recording/components/LiveStream/StreamKeyPicker.native.js b/react/features/recording/components/LiveStream/native/StreamKeyPicker.jssimilarity index 98%rename from react/features/recording/components/LiveStream/StreamKeyPicker.native.jsrename to react/features/recording/components/LiveStream/native/StreamKeyPicker.jsindex 89eb45197f..954bce01fd 100644--- a/react/features/recording/components/LiveStream/StreamKeyPicker.native.js+++ b/react/features/recording/components/LiveStream/native/StreamKeyPicker.js@@ -3,7 +3,7 @@import React, { Component } from 'react';import { Text, TouchableHighlight, View } from 'react-native';-import { translate } from '../../../base/i18n';+import { translate } from '../../../../base/i18n';import styles, { ACTIVE_OPACITY, TOUCHABLE_UNDERLAY } from './styles';diff --git a/react/features/recording/components/LiveStream/native/index.js b/react/features/recording/components/LiveStream/native/index.jsnew file mode 100644index 0000000000..fa574bac74--- /dev/null+++ b/react/features/recording/components/LiveStream/native/index.js@@ -0,0 +1,5 @@+// @flow++export { default as LiveStreamButton } from './LiveStreamButton';+export { default as StartLiveStreamDialog } from './StartLiveStreamDialog';+export { default as StopLiveStreamDialog } from './StopLiveStreamDialog';diff --git a/react/features/recording/components/LiveStream/styles.native.js b/react/features/recording/components/LiveStream/native/styles.jssimilarity index 95%rename from react/features/recording/components/LiveStream/styles.native.jsrename to react/features/recording/components/LiveStream/native/styles.jsindex 07fc2a17c8..8cb4d21b86 100644--- a/react/features/recording/components/LiveStream/styles.native.js+++ b/react/features/recording/components/LiveStream/native/styles.js@@ -1,6 +1,10 @@// @flow-import { BoxModel, ColorPalette, createStyleSheet } from '../../../base/styles';+import {+ BoxModel,+ ColorPalette,+ createStyleSheet+} from '../../../../base/styles';/*** Opacity of the TouchableHighlight.diff --git a/react/features/recording/components/LiveStream/styles.web.js b/react/features/recording/components/LiveStream/styles.web.jsdeleted file mode 100644index e69de29bb2..0000000000diff --git a/react/features/recording/components/LiveStream/LiveStreamButton.web.js b/react/features/recording/components/LiveStream/web/LiveStreamButton.jssimilarity index 96%rename from react/features/recording/components/LiveStream/LiveStreamButton.web.jsrename to react/features/recording/components/LiveStream/web/LiveStreamButton.jsindex 7d4346a381..3921440db3 100644--- a/react/features/recording/components/LiveStream/LiveStreamButton.web.js+++ b/react/features/recording/components/LiveStream/web/LiveStreamButton.js@@ -3,13 +3,13 @@import React from 'react';import { connect } from 'react-redux';-import { translate } from '../../../base/i18n';-import { Container, Text } from '../../../base/react';+import { translate } from '../../../../base/i18n';+import { Container, Text } from '../../../../base/react';import AbstractLiveStreamButton, {_mapStateToProps as _abstractMapStateToProps,type Props as AbstractProps-} from './AbstractLiveStreamButton';+} from '../AbstractLiveStreamButton';declare var interfaceConfig: Object;diff --git a/react/features/recording/components/LiveStream/StartLiveStreamDialog.web.js b/react/features/recording/components/LiveStream/web/StartLiveStreamDialog.jssimilarity index 98%rename from react/features/recording/components/LiveStream/StartLiveStreamDialog.web.jsrename to react/features/recording/components/LiveStream/web/StartLiveStreamDialog.jsindex e46d1ca4c1..419b8a8dde 100644--- a/react/features/recording/components/LiveStream/StartLiveStreamDialog.web.js+++ b/react/features/recording/components/LiveStream/web/StartLiveStreamDialog.js@@ -4,7 +4,7 @@ import Spinner from '@atlaskit/spinner';import React from 'react';import { connect } from 'react-redux';-import { translate } from '../../../base/i18n';+import { translate } from '../../../../base/i18n';import {GOOGLE_API_STATES,@@ -15,12 +15,13 @@ import {showAccountSelection,signIn,updateProfile-} from '../../../google-api';+} from '../../../../google-api';import AbstractStartLiveStreamDialog, {_mapStateToProps as _abstractMapStateToProps,type Props as AbstractProps-} from './AbstractStartLiveStreamDialog';+} from '../AbstractStartLiveStreamDialog';+import StreamKeyPicker from './StreamKeyPicker';import StreamKeyForm from './StreamKeyForm';diff --git a/react/features/recording/components/LiveStream/StopLiveStreamDialog.web.js b/react/features/recording/components/LiveStream/web/StopLiveStreamDialog.jssimilarity index 86%rename from react/features/recording/components/LiveStream/StopLiveStreamDialog.web.jsrename to react/features/recording/components/LiveStream/web/StopLiveStreamDialog.jsindex fb334deab0..14cc6e03a3 100644--- a/react/features/recording/components/LiveStream/StopLiveStreamDialog.web.js+++ b/react/features/recording/components/LiveStream/web/StopLiveStreamDialog.js@@ -2,11 +2,11 @@import { connect } from 'react-redux';-import { translate } from '../../../base/i18n';+import { translate } from '../../../../base/i18n';import AbstractStopLiveStreamDialog, {_mapStateToProps-} from './AbstractStopLiveStreamDialog';+} from '../AbstractStopLiveStreamDialog';/*** A React Component for confirming the participant wishes to stop the currentlydiff --git a/react/features/recording/components/LiveStream/StreamKeyForm.web.js b/react/features/recording/components/LiveStream/web/StreamKeyForm.jssimilarity index 96%rename from react/features/recording/components/LiveStream/StreamKeyForm.web.jsrename to react/features/recording/components/LiveStream/web/StreamKeyForm.jsindex 97c0cac0a4..9ce96d6212 100644--- a/react/features/recording/components/LiveStream/StreamKeyForm.web.js+++ b/react/features/recording/components/LiveStream/web/StreamKeyForm.js@@ -3,11 +3,11 @@import { FieldTextStateless } from '@atlaskit/field-text';import React from 'react';-import { translate } from '../../../base/i18n';+import { translate } from '../../../../base/i18n';import AbstractStreamKeyForm, {type Props-} from './AbstractStreamKeyForm';+} from '../AbstractStreamKeyForm';/*** A React Component for entering a key for starting a YouTube live stream.diff --git a/react/features/recording/components/LiveStream/StreamKeyPicker.web.js b/react/features/recording/components/LiveStream/web/StreamKeyPicker.jssimilarity index 99%rename from react/features/recording/components/LiveStream/StreamKeyPicker.web.jsrename to react/features/recording/components/LiveStream/web/StreamKeyPicker.jsindex 9b0be54cdc..f83ae05dd8 100644--- a/react/features/recording/components/LiveStream/StreamKeyPicker.web.js+++ b/react/features/recording/components/LiveStream/web/StreamKeyPicker.js@@ -7,7 +7,7 @@ import {} from '@atlaskit/dropdown-menu';import React, { PureComponent } from 'react';-import { translate } from '../../../base/i18n';+import { translate } from '../../../../base/i18n';/*** The type of the React {@code Component} props of {@link StreamKeyPicker}.diff --git a/react/features/recording/components/LiveStream/web/index.js b/react/features/recording/components/LiveStream/web/index.jsnew file mode 100644index 0000000000..fa574bac74--- /dev/null+++ b/react/features/recording/components/LiveStream/web/index.js@@ -0,0 +1,5 @@+// @flow++export { default as LiveStreamButton } from './LiveStreamButton';+export { default as StartLiveStreamDialog } from './StartLiveStreamDialog';+export { default as StopLiveStreamDialog } from './StopLiveStreamDialog';diff --git a/react/features/recording/components/Recording/AbstractRecordButton.js b/react/features/recording/components/Recording/AbstractRecordButton.jsindex 4270f82395..1e642c3a2b 100644--- a/react/features/recording/components/Recording/AbstractRecordButton.js+++ b/react/features/recording/components/Recording/AbstractRecordButton.js@@ -19,7 +19,7 @@ import {import { getActiveSession } from '../../functions';import StartRecordingDialog from './StartRecordingDialog';-import StopRecordingDialog from './StopRecordingDialog';+import { StopRecordingDialog } from './_';/*** The type of the React {@code Component} props ofdiff --git a/react/features/recording/components/Recording/_.native.js b/react/features/recording/components/Recording/_.native.jsnew file mode 100644index 0000000000..a32ec60612--- /dev/null+++ b/react/features/recording/components/Recording/_.native.js@@ -0,0 +1,3 @@+// @flow++export * from './native';diff --git a/react/features/recording/components/Recording/_.web.js b/react/features/recording/components/Recording/_.web.jsnew file mode 100644index 0000000000..40d5f46528--- /dev/null+++ b/react/features/recording/components/Recording/_.web.js@@ -0,0 +1,3 @@+// @flow++export * from './web';diff --git a/react/features/recording/components/Recording/index.js b/react/features/recording/components/Recording/index.jsindex 1988548359..bf0c7deb0e 100644--- a/react/features/recording/components/Recording/index.js+++ b/react/features/recording/components/Recording/index.js@@ -1,3 +1,3 @@-export { default as RecordButton } from './RecordButton';-export { default as StartRecordingDialog } from './StartRecordingDialog';-export { default as StopRecordingDialog } from './StopRecordingDialog';+// @flow++export * from './_';diff --git a/react/features/recording/components/Recording/RecordButton.native.js b/react/features/recording/components/Recording/native/RecordButton.jssimilarity index 82%rename from react/features/recording/components/Recording/RecordButton.native.jsrename to react/features/recording/components/Recording/native/RecordButton.jsindex 62e283e939..5c77a4a37f 100644--- a/react/features/recording/components/Recording/RecordButton.native.js+++ b/react/features/recording/components/Recording/native/RecordButton.js@@ -2,12 +2,12 @@import { connect } from 'react-redux';-import { translate } from '../../../base/i18n';+import { translate } from '../../../../base/i18n';import AbstractRecordButton, {_mapStateToProps,type Props-} from './AbstractRecordButton';+} from '../AbstractRecordButton';/*** An implementation of a button for starting and stopping recording.diff --git a/react/features/recording/components/Recording/StopRecordingDialog.native.js b/react/features/recording/components/Recording/native/StopRecordingDialog.jssimilarity index 83%rename from react/features/recording/components/Recording/StopRecordingDialog.native.jsrename to react/features/recording/components/Recording/native/StopRecordingDialog.jsindex acee52dfe2..9bf9216fc4 100644--- a/react/features/recording/components/Recording/StopRecordingDialog.native.js+++ b/react/features/recording/components/Recording/native/StopRecordingDialog.js@@ -3,13 +3,13 @@import React from 'react';import { connect } from 'react-redux';-import { DialogContent } from '../../../base/dialog';-import { translate } from '../../../base/i18n';+import { DialogContent } from '../../../../base/dialog';+import { translate } from '../../../../base/i18n';import AbstractStopRecordingDialog, {type Props,_mapStateToProps-} from './AbstractStopRecordingDialog';+} from '../AbstractStopRecordingDialog';/*** React Component for getting confirmation to stop a file recording session indiff --git a/react/features/recording/components/Recording/native/index.js b/react/features/recording/components/Recording/native/index.jsnew file mode 100644index 0000000000..852c69138b--- /dev/null+++ b/react/features/recording/components/Recording/native/index.js@@ -0,0 +1,4 @@+// @flow++export { default as RecordButton } from './RecordButton';+export { default as StopRecordingDialog } from './StopRecordingDialog';diff --git a/react/features/recording/components/Recording/RecordButton.web.js b/react/features/recording/components/Recording/web/RecordButton.jssimilarity index 97%rename from react/features/recording/components/Recording/RecordButton.web.jsrename to react/features/recording/components/Recording/web/RecordButton.jsindex 91727324a2..8abc848f1e 100644--- a/react/features/recording/components/Recording/RecordButton.web.js+++ b/react/features/recording/components/Recording/web/RecordButton.js@@ -2,12 +2,12 @@import { connect } from 'react-redux';-import { translate } from '../../../base/i18n';+import { translate } from '../../../../base/i18n';import AbstractRecordButton, {_mapStateToProps as _abstractMapStateToProps,type Props as AbstractProps-} from './AbstractRecordButton';+} from '../AbstractRecordButton';declare var interfaceConfig: Object;diff --git a/react/features/recording/components/Recording/StopRecordingDialog.web.js b/react/features/recording/components/Recording/web/StopRecordingDialog.jssimilarity index 87%rename from react/features/recording/components/Recording/StopRecordingDialog.web.jsrename to react/features/recording/components/Recording/web/StopRecordingDialog.jsindex f4eb44ac65..3c0a4533d1 100644--- a/react/features/recording/components/Recording/StopRecordingDialog.web.js+++ b/react/features/recording/components/Recording/web/StopRecordingDialog.js@@ -2,12 +2,12 @@import { connect } from 'react-redux';-import { translate } from '../../../base/i18n';+import { translate } from '../../../../base/i18n';import AbstractStopRecordingDialog, {type Props,_mapStateToProps-} from './AbstractStopRecordingDialog';+} from '../AbstractStopRecordingDialog';/*** React Component for getting confirmation to stop a file recording session indiff --git a/react/features/recording/components/Recording/web/index.js b/react/features/recording/components/Recording/web/index.jsnew file mode 100644index 0000000000..852c69138b--- /dev/null+++ b/react/features/recording/components/Recording/web/index.js@@ -0,0 +1,4 @@+// @flow++export { default as RecordButton } from './RecordButton';+export { default as StopRecordingDialog } from './StopRecordingDialog';diff --git a/react/features/recording/components/RecordingExpandedLabel.web.js b/react/features/recording/components/RecordingExpandedLabel.web.jsdeleted file mode 100644index e69de29bb2..0000000000diff --git a/react/features/recording/components/_.native.js b/react/features/recording/components/_.native.jsnew file mode 100644index 0000000000..a32ec60612--- /dev/null+++ b/react/features/recording/components/_.native.js@@ -0,0 +1,3 @@+// @flow++export * from './native';diff --git a/react/features/recording/components/_.web.js b/react/features/recording/components/_.web.jsnew file mode 100644index 0000000000..40d5f46528--- /dev/null+++ b/react/features/recording/components/_.web.js@@ -0,0 +1,3 @@+// @flow++export * from './web';diff --git a/react/features/recording/components/index.js b/react/features/recording/components/index.jsindex 3fda26219c..8006c16995 100644--- a/react/features/recording/components/index.js+++ b/react/features/recording/components/index.js@@ -1,12 +1,5 @@-export {- LiveStreamButton,- StartLiveStreamDialog,- StopLiveStreamDialog-} from './LiveStream';-export {- RecordButton,- StartRecordingDialog,- StopRecordingDialog-} from './Recording';-export { default as RecordingLabel } from './RecordingLabel';-export { default as RecordingExpandedLabel } from './RecordingExpandedLabel';+// @flow++export * from './_';+export * from './LiveStream';+export * from './Recording';diff --git a/react/features/recording/components/RecordingExpandedLabel.native.js b/react/features/recording/components/native/RecordingExpandedLabel.jssimilarity index 92%rename from react/features/recording/components/RecordingExpandedLabel.native.jsrename to react/features/recording/components/native/RecordingExpandedLabel.jsindex 298b44c4f2..968d767930 100644--- a/react/features/recording/components/RecordingExpandedLabel.native.js+++ b/react/features/recording/components/native/RecordingExpandedLabel.js@@ -2,14 +2,14 @@import { connect } from 'react-redux';-import { translate } from '../../base/i18n';-import { JitsiRecordingConstants } from '../../base/lib-jitsi-meet';+import { translate } from '../../../base/i18n';+import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';import {ExpandedLabel,type Props as AbstractProps-} from '../../base/label';+} from '../../../base/label';-import { getSessionStatusToShow } from '../functions';+import { getSessionStatusToShow } from '../../functions';import { LIVE_LABEL_COLOR, REC_LABEL_COLOR } from './styles';diff --git a/react/features/recording/components/RecordingLabel.native.js b/react/features/recording/components/native/RecordingLabel.jssimilarity index 87%rename from react/features/recording/components/RecordingLabel.native.jsrename to react/features/recording/components/native/RecordingLabel.jsindex fdbb7d418e..13063dc7d3 100644--- a/react/features/recording/components/RecordingLabel.native.js+++ b/react/features/recording/components/native/RecordingLabel.js@@ -3,13 +3,14 @@import React from 'react';import { connect } from 'react-redux';-import { translate } from '../../base/i18n';-import { CircularLabel } from '../../base/label';-import { JitsiRecordingConstants } from '../../base/lib-jitsi-meet';+import { translate } from '../../../base/i18n';+import { CircularLabel } from '../../../base/label';+import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';import AbstractRecordingLabel, {_mapStateToProps-} from './AbstractRecordingLabel';+} from '../AbstractRecordingLabel';+import styles from './styles';/**diff --git a/react/features/recording/components/native/index.js b/react/features/recording/components/native/index.jsnew file mode 100644index 0000000000..7c3fda4667--- /dev/null+++ b/react/features/recording/components/native/index.js@@ -0,0 +1,4 @@+// @flow++export { default as RecordingExpandedLabel } from './RecordingExpandedLabel';+export { default as RecordingLabel } from './RecordingLabel';diff --git a/react/features/recording/components/styles.js b/react/features/recording/components/native/styles.jssimilarity index 87%rename from react/features/recording/components/styles.jsrename to react/features/recording/components/native/styles.jsindex e82e9c52cb..c8f4940536 100644--- a/react/features/recording/components/styles.js+++ b/react/features/recording/components/native/styles.js@@ -1,6 +1,6 @@// @flow-import { ColorPalette, createStyleSheet } from '../../base/styles';+import { ColorPalette, createStyleSheet } from '../../../base/styles';export const LIVE_LABEL_COLOR = ColorPalette.blue;export const REC_LABEL_COLOR = ColorPalette.red;diff --git a/react/features/recording/components/RecordingLabel.web.js b/react/features/recording/components/web/RecordingLabel.jssimilarity index 82%rename from react/features/recording/components/RecordingLabel.web.jsrename to react/features/recording/components/web/RecordingLabel.jsindex d66096536f..1c66fcf131 100644--- a/react/features/recording/components/RecordingLabel.web.js+++ b/react/features/recording/components/web/RecordingLabel.js@@ -3,13 +3,13 @@import React from 'react';import { connect } from 'react-redux';-import { CircularLabel } from '../../base/label';-import { JitsiRecordingConstants } from '../../base/lib-jitsi-meet';-import { translate } from '../../base/i18n';+import { CircularLabel } from '../../../base/label';+import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';+import { translate } from '../../../base/i18n';import AbstractRecordingLabel, {_mapStateToProps-} from './AbstractRecordingLabel';+} from '../AbstractRecordingLabel';/*** Implements a React {@link Component} which displays the current state ofdiff --git a/react/features/recording/components/web/index.js b/react/features/recording/components/web/index.jsnew file mode 100644index 0000000000..2004cf90ba--- /dev/null+++ b/react/features/recording/components/web/index.js@@ -0,0 +1,3 @@+// @flow++export { default as RecordingLabel } from './RecordingLabel';