Bladeren bron

[RN] Make feature dialogs branded: calendar-sync

master
Bettenbuk Zoltan 7 jaren geleden
bovenliggende
commit
f6e6b09e78
1 gewijzigde bestanden met toevoegingen van 4 en 10 verwijderingen
  1. 4
    10
      react/features/calendar-sync/components/UpdateCalendarEventDialog.native.js

+ 4
- 10
react/features/calendar-sync/components/UpdateCalendarEventDialog.native.js Bestand weergeven

@@ -3,7 +3,7 @@
3 3
 import React, { Component } from 'react';
4 4
 import { connect } from 'react-redux';
5 5
 
6
-import { Dialog, DialogContent } from '../../base/dialog';
6
+import { ConfirmDialog } from '../../base/dialog';
7 7
 import { translate } from '../../base/i18n';
8 8
 
9 9
 import { updateCalendarEvent } from '../actions';
@@ -49,15 +49,9 @@ class UpdateCalendarEventDialog extends Component<Props> {
49 49
      */
50 50
     render() {
51 51
         return (
52
-            <Dialog
53
-                okTitleKey = 'dialog.confirm'
54
-                onSubmit = { this._onSubmit }
55
-                titleKey = 'calendarSync.confirmAddLinkTitle'
56
-                width = 'small'>
57
-                <DialogContent>
58
-                    { this.props.t('calendarSync.confirmAddLink') }
59
-                </DialogContent>
60
-            </Dialog>
52
+            <ConfirmDialog
53
+                contentKey = 'calendarSync.confirmAddLink'
54
+                onSubmit = { this._onSubmit } />
61 55
         );
62 56
     }
63 57
 

Laden…
Annuleren
Opslaan