Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

[RN] Make feature dialogs branded: calendar-sync

Bettenbuk Zoltanf6e6b09e78f4
diff --git a/react/features/calendar-sync/components/UpdateCalendarEventDialog.native.js b/react/features/calendar-sync/components/UpdateCalendarEventDialog.native.js
index 0b4497e19a..a399836d10 100644
--- a/react/features/calendar-sync/components/UpdateCalendarEventDialog.native.js
+++ b/react/features/calendar-sync/components/UpdateCalendarEventDialog.native.js
@@ -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 } />
);
}