[RN] Fix start recording dialog after dropbox changes
This commit is contained in:
parent
61456b0d99
commit
e164a23cf0
|
@ -1,7 +1,8 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { Text, View } from 'react-native';
|
|
||||||
|
import { Container, Text } from '../../react';
|
||||||
|
|
||||||
import { dialog as styles } from './styles';
|
import { dialog as styles } from './styles';
|
||||||
|
|
||||||
|
@ -31,9 +32,9 @@ export default class DialogContent extends Component<Props> {
|
||||||
: children;
|
: children;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style = { styles.dialogContainer }>
|
<Container style = { styles.dialogContainer }>
|
||||||
{ childrenComponent }
|
{ childrenComponent }
|
||||||
</View>
|
</Container>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
/**
|
||||||
|
* Placeholder styles for web to be able to use cross platform components
|
||||||
|
* unmodified such as {@code DialogContent}.
|
||||||
|
*/
|
||||||
|
export const dialog = {};
|
|
@ -7,6 +7,7 @@ import {
|
||||||
createRecordingDialogEvent,
|
createRecordingDialogEvent,
|
||||||
sendAnalytics
|
sendAnalytics
|
||||||
} from '../../../analytics';
|
} from '../../../analytics';
|
||||||
|
import { DialogContent } from '../../../base/dialog';
|
||||||
import { translate } from '../../../base/i18n';
|
import { translate } from '../../../base/i18n';
|
||||||
import {
|
import {
|
||||||
Container,
|
Container,
|
||||||
|
@ -98,9 +99,9 @@ class StartRecordingDialogContent extends Component<Props> {
|
||||||
*/
|
*/
|
||||||
_renderNoIntegrationsContent() {
|
_renderNoIntegrationsContent() {
|
||||||
return (
|
return (
|
||||||
<Container>
|
<DialogContent>
|
||||||
{ this.props.t('recording.startRecordingBody') }
|
{ this.props.t('recording.startRecordingBody') }
|
||||||
</Container>
|
</DialogContent>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue