[RN] Make feature dialogs branded: calendar-sync
This commit is contained in:
parent
9645de33bc
commit
f6e6b09e78
@ -3,7 +3,7 @@
|
|||||||
import React, { Component } from 'react';
|
import React, { Component } from 'react';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
|
|
||||||
import { Dialog, DialogContent } from '../../base/dialog';
|
import { ConfirmDialog } from '../../base/dialog';
|
||||||
import { translate } from '../../base/i18n';
|
import { translate } from '../../base/i18n';
|
||||||
|
|
||||||
import { updateCalendarEvent } from '../actions';
|
import { updateCalendarEvent } from '../actions';
|
||||||
@ -49,15 +49,9 @@ class UpdateCalendarEventDialog extends Component<Props> {
|
|||||||
*/
|
*/
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<Dialog
|
<ConfirmDialog
|
||||||
okTitleKey = 'dialog.confirm'
|
contentKey = 'calendarSync.confirmAddLink'
|
||||||
onSubmit = { this._onSubmit }
|
onSubmit = { this._onSubmit } />
|
||||||
titleKey = 'calendarSync.confirmAddLinkTitle'
|
|
||||||
width = 'small'>
|
|
||||||
<DialogContent>
|
|
||||||
{ this.props.t('calendarSync.confirmAddLink') }
|
|
||||||
</DialogContent>
|
|
||||||
</Dialog>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user