[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 { connect } from 'react-redux';
|
||||
|
||||
import { Dialog, DialogContent } from '../../base/dialog';
|
||||
import { ConfirmDialog } from '../../base/dialog';
|
||||
import { translate } from '../../base/i18n';
|
||||
|
||||
import { updateCalendarEvent } from '../actions';
|
||||
|
@ -49,15 +49,9 @@ class UpdateCalendarEventDialog extends Component<Props> {
|
|||
*/
|
||||
render() {
|
||||
return (
|
||||
<Dialog
|
||||
okTitleKey = 'dialog.confirm'
|
||||
onSubmit = { this._onSubmit }
|
||||
titleKey = 'calendarSync.confirmAddLinkTitle'
|
||||
width = 'small'>
|
||||
<DialogContent>
|
||||
{ this.props.t('calendarSync.confirmAddLink') }
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
<ConfirmDialog
|
||||
contentKey = 'calendarSync.confirmAddLink'
|
||||
onSubmit = { this._onSubmit } />
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue