[RN] Fix start recording dialog after dropbox changes
This commit is contained in:
parent
61456b0d99
commit
e164a23cf0
|
@ -1,7 +1,8 @@
|
|||
// @flow
|
||||
|
||||
import React, { Component } from 'react';
|
||||
import { Text, View } from 'react-native';
|
||||
|
||||
import { Container, Text } from '../../react';
|
||||
|
||||
import { dialog as styles } from './styles';
|
||||
|
||||
|
@ -31,9 +32,9 @@ export default class DialogContent extends Component<Props> {
|
|||
: children;
|
||||
|
||||
return (
|
||||
<View style = { styles.dialogContainer }>
|
||||
<Container style = { styles.dialogContainer }>
|
||||
{ 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,
|
||||
sendAnalytics
|
||||
} from '../../../analytics';
|
||||
import { DialogContent } from '../../../base/dialog';
|
||||
import { translate } from '../../../base/i18n';
|
||||
import {
|
||||
Container,
|
||||
|
@ -98,9 +99,9 @@ class StartRecordingDialogContent extends Component<Props> {
|
|||
*/
|
||||
_renderNoIntegrationsContent() {
|
||||
return (
|
||||
<Container>
|
||||
<DialogContent>
|
||||
{ this.props.t('recording.startRecordingBody') }
|
||||
</Container>
|
||||
</DialogContent>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue