Browse Source

Remove some Flow annotations

efficient_tiling
Bettenbuk Zoltan 6 years ago
parent
commit
2a5adfc601
100 changed files with 140 additions and 158 deletions
  1. 1
    1
      react/features/authentication/components/WaitForOwnerDialog.native.js
  2. 0
    2
      react/features/base/app/components/BaseApp.js
  3. 1
    2
      react/features/base/dialog/components/native/BottomSheet.js
  4. 1
    1
      react/features/base/dialog/components/native/ConfirmDialog.js
  5. 1
    2
      react/features/base/dialog/components/native/CustomDialog.js
  6. 1
    2
      react/features/base/dialog/components/native/CustomSubmitDialog.js
  7. 1
    1
      react/features/base/dialog/components/native/DialogContainer.js
  8. 1
    1
      react/features/base/dialog/components/native/InputDialog.js
  9. 2
    2
      react/features/base/dialog/components/web/Dialog.js
  10. 2
    1
      react/features/base/dialog/components/web/DialogContainer.js
  11. 0
    5
      react/features/base/i18n/dateUtil.js
  12. 1
    1
      react/features/base/media/components/AbstractAudio.js
  13. 2
    2
      react/features/base/media/components/native/VideoTrack.js
  14. 2
    2
      react/features/base/media/components/native/VideoTransform.js
  15. 2
    2
      react/features/base/media/components/web/VideoTrack.js
  16. 11
    3
      react/features/base/participants/components/Avatar.native.js
  17. 1
    1
      react/features/base/participants/components/ParticipantView.native.js
  18. 1
    2
      react/features/base/react/components/native/BackButton.js
  19. 1
    1
      react/features/base/react/components/native/ForwardButton.js
  20. 1
    2
      react/features/base/react/components/native/Header.js
  21. 1
    1
      react/features/base/react/components/native/HeaderLabel.js
  22. 2
    2
      react/features/base/react/components/native/LoadingIndicator.js
  23. 1
    2
      react/features/base/react/components/native/PagedList.js
  24. 1
    2
      react/features/base/react/components/web/Watermarks.js
  25. 14
    0
      react/features/base/redux/functions.js
  26. 2
    2
      react/features/base/responsive-ui/components/AspectRatioAware.js
  27. 2
    2
      react/features/base/responsive-ui/components/AspectRatioDetector.js
  28. 2
    2
      react/features/base/responsive-ui/components/ReducedUIDetector.js
  29. 1
    2
      react/features/base/sounds/components/SoundCollection.js
  30. 1
    2
      react/features/base/testing/components/TestConnectionInfo.js
  31. 2
    1
      react/features/base/testing/components/TestHint.android.js
  32. 2
    2
      react/features/base/testing/components/TestHint.ios.js
  33. 1
    1
      react/features/calendar-sync/components/AddMeetingUrlButton.web.js
  34. 1
    1
      react/features/calendar-sync/components/CalendarList.native.js
  35. 1
    1
      react/features/calendar-sync/components/CalendarList.web.js
  36. 1
    1
      react/features/calendar-sync/components/CalendarListContent.native.js
  37. 1
    3
      react/features/calendar-sync/components/CalendarListContent.web.js
  38. 1
    1
      react/features/calendar-sync/components/ConferenceNotification.native.js
  39. 1
    1
      react/features/calendar-sync/components/UpdateCalendarEventDialog.native.js
  40. 4
    3
      react/features/calendar-sync/functions.any.js
  41. 0
    1
      react/features/calendar-sync/reducer.js
  42. 1
    1
      react/features/chat/components/native/Chat.js
  43. 1
    3
      react/features/chat/components/native/ChatButton.js
  44. 1
    1
      react/features/chat/components/native/ChatMessage.js
  45. 1
    1
      react/features/chat/components/web/Chat.js
  46. 2
    2
      react/features/chat/components/web/ChatCounter.js
  47. 2
    2
      react/features/chat/components/web/ChatInput.js
  48. 1
    1
      react/features/chat/components/web/DisplayNameForm.js
  49. 1
    2
      react/features/conference/components/native/Conference.js
  50. 1
    2
      react/features/conference/components/native/DisplayNameLabel.js
  51. 1
    2
      react/features/conference/components/native/Labels.js
  52. 1
    2
      react/features/conference/components/native/NavigationBar.js
  53. 1
    2
      react/features/conference/components/web/Conference.js
  54. 1
    2
      react/features/conference/components/web/Labels.js
  55. 1
    1
      react/features/conference/components/web/Notice.js
  56. 1
    2
      react/features/conference/components/web/Subject.js
  57. 1
    1
      react/features/deep-linking/components/DeepLinkingDesktopPage.web.js
  58. 1
    1
      react/features/deep-linking/components/DeepLinkingMobilePage.web.js
  59. 1
    1
      react/features/desktop-picker/components/DesktopPicker.js
  60. 1
    1
      react/features/display-name/components/DisplayName.web.js
  61. 1
    2
      react/features/display-name/components/DisplayNamePrompt.native.js
  62. 1
    1
      react/features/display-name/components/DisplayNamePrompt.web.js
  63. 1
    1
      react/features/feedback/components/FeedbackDialog.web.js
  64. 1
    2
      react/features/filmstrip/components/native/Filmstrip.js
  65. 1
    2
      react/features/filmstrip/components/native/LocalThumbnail.js
  66. 1
    2
      react/features/filmstrip/components/native/Thumbnail.js
  67. 1
    2
      react/features/filmstrip/components/native/TileView.js
  68. 1
    2
      react/features/filmstrip/components/web/Filmstrip.js
  69. 1
    2
      react/features/filmstrip/components/web/Toolbar.js
  70. 1
    1
      react/features/invite/components/InfoDialogButton.web.js
  71. 1
    1
      react/features/invite/components/InviteButton.native.js
  72. 1
    1
      react/features/invite/components/add-people-dialog/native/AddPeopleDialog.js
  73. 1
    1
      react/features/invite/components/add-people-dialog/web/AddPeopleDialog.js
  74. 1
    2
      react/features/invite/components/callee-info/CalleeInfo.js
  75. 2
    2
      react/features/invite/components/callee-info/CalleeInfoContainer.js
  76. 1
    1
      react/features/invite/components/info-dialog/InfoDialog.web.js
  77. 1
    2
      react/features/large-video/components/LargeVideo.native.js
  78. 1
    1
      react/features/local-recording/components/LocalRecordingInfoDialog.js
  79. 1
    1
      react/features/local-recording/components/LocalRecordingLabel.web.js
  80. 1
    1
      react/features/mobile/audio-mode/components/AudioRouteButton.js
  81. 1
    1
      react/features/mobile/audio-mode/components/AudioRoutePickerDialog.js
  82. 1
    2
      react/features/mobile/incoming-call/components/AnswerButton.js
  83. 1
    2
      react/features/mobile/incoming-call/components/DeclineButton.js
  84. 1
    1
      react/features/mobile/incoming-call/components/IncomingCallPage.js
  85. 1
    2
      react/features/mobile/network-activity/components/NetworkActivityIndicator.js
  86. 1
    2
      react/features/mobile/picture-in-picture/components/PictureInPictureButton.js
  87. 2
    2
      react/features/notifications/components/NotificationsContainer.native.js
  88. 2
    2
      react/features/notifications/components/NotificationsContainer.web.js
  89. 1
    2
      react/features/overlay/components/FilmstripOnlyOverlayFrame.js
  90. 2
    2
      react/features/overlay/components/OverlayContainer.js
  91. 1
    1
      react/features/overlay/components/PageReloadFilmstripOnlyOverlay.js
  92. 1
    1
      react/features/overlay/components/PageReloadOverlay.native.js
  93. 1
    1
      react/features/overlay/components/PageReloadOverlay.web.js
  94. 1
    1
      react/features/overlay/components/ReloadButton.js
  95. 1
    1
      react/features/overlay/components/UserMediaPermissionsFilmstripOnlyOverlay.js
  96. 1
    1
      react/features/overlay/components/UserMediaPermissionsOverlay.js
  97. 1
    1
      react/features/presence-status/components/PresenceLabel.js
  98. 2
    3
      react/features/recent-list/components/RecentList.native.js
  99. 1
    1
      react/features/recent-list/components/RecentList.web.js
  100. 0
    0
      react/features/recording/components/LiveStream/native/GoogleSigninForm.js

+ 1
- 1
react/features/authentication/components/WaitForOwnerDialog.native.js View File

@@ -1,11 +1,11 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 import type { Dispatch } from 'redux';
6 5
 
7 6
 import { ConfirmDialog } from '../../base/dialog';
8 7
 import { translate } from '../../base/i18n';
8
+import { connect } from '../../base/redux';
9 9
 
10 10
 import { cancelWaitForOwner, _openLoginDialog } from '../actions';
11 11
 

+ 0
- 2
react/features/base/app/components/BaseApp.js View File

@@ -55,8 +55,6 @@ export default class BaseApp extends Component<*, State> {
55 55
 
56 56
         this.state = {
57 57
             route: {},
58
-
59
-            // $FlowFixMe
60 58
             store: undefined
61 59
         };
62 60
     }

+ 1
- 2
react/features/base/dialog/components/native/BottomSheet.js View File

@@ -2,10 +2,10 @@
2 2
 
3 3
 import React, { Component, type Node } from 'react';
4 4
 import { TouchableWithoutFeedback, View } from 'react-native';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import { ColorSchemeRegistry } from '../../../color-scheme';
8 7
 import { Modal } from '../../../react';
8
+import { connect } from '../../../redux';
9 9
 import { StyleType } from '../../../styles';
10 10
 
11 11
 import { bottomSheetStyles as styles } from './styles';
@@ -107,5 +107,4 @@ function _mapStateToProps(state) {
107 107
     };
108 108
 }
109 109
 
110
-// $FlowExpectedError
111 110
 export default connect(_mapStateToProps)(BottomSheet);

+ 1
- 1
react/features/base/dialog/components/native/ConfirmDialog.js View File

@@ -2,9 +2,9 @@
2 2
 
3 3
 import React from 'react';
4 4
 import { Text, TouchableOpacity } from 'react-native';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import { translate } from '../../../i18n';
7
+import { connect } from '../../../redux';
8 8
 import { StyleType } from '../../../styles';
9 9
 
10 10
 import { _abstractMapStateToProps } from '../../functions';

+ 1
- 2
react/features/base/dialog/components/native/CustomDialog.js View File

@@ -1,6 +1,6 @@
1 1
 // @flow
2 2
 
3
-import { connect } from 'react-redux';
3
+import { connect } from '../../../redux';
4 4
 
5 5
 import { _abstractMapStateToProps } from '../../functions';
6 6
 
@@ -21,5 +21,4 @@ class CustomDialog extends BaseDialog<Props, *> {
21 21
     }
22 22
 }
23 23
 
24
-// $FlowExpectedError
25 24
 export default connect(_abstractMapStateToProps)(CustomDialog);

+ 1
- 2
react/features/base/dialog/components/native/CustomSubmitDialog.js View File

@@ -1,8 +1,7 @@
1 1
 // @flow
2 2
 
3
-import { connect } from 'react-redux';
4
-
5 3
 import { translate } from '../../../i18n';
4
+import { connect } from '../../../redux';
6 5
 
7 6
 import { _abstractMapStateToProps } from '../../functions';
8 7
 

+ 1
- 1
react/features/base/dialog/components/native/DialogContainer.js View File

@@ -1,4 +1,4 @@
1
-import { connect } from 'react-redux';
1
+import { connect } from '../../../redux';
2 2
 
3 3
 import AbstractDialogContainer, {
4 4
     abstractMapStateToProps

+ 1
- 1
react/features/base/dialog/components/native/InputDialog.js View File

@@ -2,9 +2,9 @@
2 2
 
3 3
 import React from 'react';
4 4
 import { View, Text, TextInput, TouchableOpacity } from 'react-native';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import { translate } from '../../../i18n';
7
+import { connect } from '../../../redux';
8 8
 import { StyleType } from '../../../styles';
9 9
 
10 10
 import { _abstractMapStateToProps } from '../../functions';

+ 2
- 2
react/features/base/dialog/components/web/Dialog.js View File

@@ -1,7 +1,8 @@
1 1
 // @flow
2 2
 
3 3
 import React from 'react';
4
-import { connect } from 'react-redux';
4
+
5
+import { connect } from '../../../redux';
5 6
 
6 7
 import AbstractDialog from '../AbstractDialog';
7 8
 import type { Props as AbstractDialogProps, State } from '../AbstractDialog';
@@ -84,5 +85,4 @@ class Dialog extends AbstractDialog<Props, State> {
84 85
     _onSubmit: (?string) => void;
85 86
 }
86 87
 
87
-// $FlowExpectedError
88 88
 export default connect()(Dialog);

+ 2
- 1
react/features/base/dialog/components/web/DialogContainer.js View File

@@ -1,6 +1,7 @@
1 1
 import { ModalTransition } from '@atlaskit/modal-dialog';
2 2
 import React from 'react';
3
-import { connect } from 'react-redux';
3
+
4
+import { connect } from '../../../redux';
4 5
 
5 6
 import AbstractDialogContainer, {
6 7
     abstractMapStateToProps

+ 0
- 5
react/features/base/i18n/dateUtil.js View File

@@ -63,13 +63,10 @@ export function getLocalizedDurationFormatter(duration: number) {
63 63
     // showing the hour and we want to include the hour if the conference is
64 64
     // more than an hour long
65 65
 
66
-    // $FlowFixMe
67 66
     if (moment.duration(duration).format('h') !== '0') {
68
-        // $FlowFixMe
69 67
         return moment.duration(duration).format('h:mm:ss');
70 68
     }
71 69
 
72
-    // $FlowFixMe
73 70
     return moment.duration(duration).format('mm:ss', { trim: false });
74 71
 }
75 72
 
@@ -97,8 +94,6 @@ function _getSupportedLocale() {
97 94
                 // FIXME The flow-type definition of moment is v2.3 while our
98 95
                 // package.json states v2.19 so maybe locales on moment was
99 96
                 // introduced in between?
100
-                //
101
-                // $FlowFixMe
102 97
                 = moment.locales().find(lang => currentLocaleRegexp.exec(lang));
103 98
         }
104 99
     }

+ 1
- 1
react/features/base/media/components/AbstractAudio.js View File

@@ -7,7 +7,7 @@ import { Component } from 'react';
7 7
  * playback.
8 8
  */
9 9
 export type AudioElement = {
10
-    currentTime?: number,
10
+    currentTime: number,
11 11
     pause: () => void,
12 12
     play: () => void,
13 13
     setSinkId?: string => void,

+ 2
- 2
react/features/base/media/components/native/VideoTrack.js View File

@@ -2,7 +2,8 @@
2 2
 
3 3
 import React from 'react';
4 4
 import { View } from 'react-native';
5
-import { connect } from 'react-redux';
5
+
6
+import { connect } from '../../../redux';
6 7
 
7 8
 import AbstractVideoTrack from '../AbstractVideoTrack';
8 9
 import type { Props } from '../AbstractVideoTrack';
@@ -29,5 +30,4 @@ class VideoTrack extends AbstractVideoTrack<Props> {
29 30
     }
30 31
 }
31 32
 
32
-// $FlowExpectedError
33 33
 export default connect()(VideoTrack);

+ 2
- 2
react/features/base/media/components/native/VideoTransform.js View File

@@ -2,9 +2,10 @@
2 2
 
3 3
 import React, { Component } from 'react';
4 4
 import { PanResponder, PixelRatio, View } from 'react-native';
5
-import { connect } from 'react-redux';
6 5
 import { type Dispatch } from 'redux';
7 6
 
7
+import { connect } from '../../../redux';
8
+
8 9
 import type { PanResponderInstance } from 'PanResponder';
9 10
 
10 11
 import { storeVideoTransform } from '../../actions';
@@ -727,5 +728,4 @@ function _mapStateToProps(state) {
727 728
     };
728 729
 }
729 730
 
730
-// $FlowExpectedError
731 731
 export default connect(_mapStateToProps, _mapDispatchToProps)(VideoTransform);

+ 2
- 2
react/features/base/media/components/web/VideoTrack.js View File

@@ -1,7 +1,8 @@
1 1
 /* @flow */
2 2
 
3 3
 import React from 'react';
4
-import { connect } from 'react-redux';
4
+
5
+import { connect } from '../../../redux';
5 6
 
6 7
 import AbstractVideoTrack from '../AbstractVideoTrack';
7 8
 import type { Props as AbstractVideoTrackProps } from '../AbstractVideoTrack';
@@ -63,5 +64,4 @@ class VideoTrack extends AbstractVideoTrack<Props> {
63 64
     _onVideoPlaying: () => void;
64 65
 }
65 66
 
66
-// $FlowExpectedError
67 67
 export default connect()(VideoTrack);

+ 11
- 3
react/features/base/participants/components/Avatar.native.js View File

@@ -2,7 +2,10 @@
2 2
 
3 3
 import React, { Component, Fragment, PureComponent } from 'react';
4 4
 import { Dimensions, Image, Platform, View } from 'react-native';
5
-import FastImage from 'react-native-fast-image';
5
+import FastImage, {
6
+    type CacheControls,
7
+    type Priorities
8
+} from 'react-native-fast-image';
6 9
 
7 10
 import { ColorPalette } from '../../styles';
8 11
 
@@ -63,7 +66,12 @@ type State = {
63 66
     /**
64 67
      * Source for the non-local avatar.
65 68
      */
66
-    source: { uri: ?string }
69
+    source: {
70
+        uri?: string,
71
+        headers?: Object,
72
+        priority?: Priorities,
73
+        cache?: CacheControls,
74
+    }
67 75
 };
68 76
 
69 77
 /**
@@ -261,7 +269,7 @@ class AvatarContent extends Component<Props, State> {
261 269
             }
262 270
         }
263 271
 
264
-        return (// $FlowFixMe
272
+        return (
265 273
             <FastImage
266 274
                 onError = { this._onAvatarLoadError }
267 275
                 onLoadEnd = { this._onAvatarLoaded }

+ 1
- 1
react/features/base/participants/components/ParticipantView.native.js View File

@@ -3,7 +3,6 @@
3 3
 import React, { Component } from 'react';
4 4
 import { Text, View } from 'react-native';
5 5
 import FastImage from 'react-native-fast-image';
6
-import { connect } from 'react-redux';
7 6
 
8 7
 import { translate } from '../../i18n';
9 8
 import { JitsiParticipantConnectionStatus } from '../../lib-jitsi-meet';
@@ -12,6 +11,7 @@ import {
12 11
     VideoTrack
13 12
 } from '../../media';
14 13
 import { Container, TintedView } from '../../react';
14
+import { connect } from '../../redux';
15 15
 import { StyleType } from '../../styles';
16 16
 import { TestHint } from '../../testing/components';
17 17
 import { getTrackByMediaTypeAndParticipant } from '../../tracks';

+ 1
- 2
react/features/base/react/components/native/BackButton.js View File

@@ -2,10 +2,10 @@
2 2
 
3 3
 import React, { Component } from 'react';
4 4
 import { TouchableOpacity } from 'react-native';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import { ColorSchemeRegistry } from '../../../color-scheme';
8 7
 import { Icon } from '../../../font-icons';
8
+import { connect } from '../../../redux';
9 9
 
10 10
 /**
11 11
  * The type of the React {@code Component} props of {@link BackButton}
@@ -68,5 +68,4 @@ function _mapStateToProps(state) {
68 68
     };
69 69
 }
70 70
 
71
-// $FlowExpectedError
72 71
 export default connect(_mapStateToProps)(BackButton);

+ 1
- 1
react/features/base/react/components/native/ForwardButton.js View File

@@ -2,10 +2,10 @@
2 2
 
3 3
 import React, { Component } from 'react';
4 4
 import { Text, TouchableOpacity } from 'react-native';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import { ColorSchemeRegistry } from '../../../color-scheme';
8 7
 import { translate } from '../../../i18n';
8
+import { connect } from '../../../redux';
9 9
 
10 10
 /**
11 11
  * The type of the React {@code Component} props of {@link ForwardButton}

+ 1
- 2
react/features/base/react/components/native/Header.js View File

@@ -2,9 +2,9 @@
2 2
 
3 3
 import React, { Component, type Node } from 'react';
4 4
 import { Platform, SafeAreaView, StatusBar, View } from 'react-native';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import { ColorSchemeRegistry } from '../../../color-scheme';
7
+import { connect } from '../../../redux';
8 8
 import { isDarkColor } from '../../../styles';
9 9
 
10 10
 import { HEADER_PADDING } from './headerstyles';
@@ -165,5 +165,4 @@ function _mapStateToProps(state) {
165 165
     };
166 166
 }
167 167
 
168
-// $FlowExpectedError
169 168
 export default connect(_mapStateToProps)(Header);

+ 1
- 1
react/features/base/react/components/native/HeaderLabel.js View File

@@ -2,10 +2,10 @@
2 2
 
3 3
 import React, { Component } from 'react';
4 4
 import { Text, View } from 'react-native';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import { ColorSchemeRegistry } from '../../../color-scheme';
8 7
 import { translate } from '../../../i18n';
8
+import { connect } from '../../../redux';
9 9
 
10 10
 /**
11 11
  * The type of the React {@code Component} props of {@link HeaderLabel}

+ 2
- 2
react/features/base/react/components/native/LoadingIndicator.js View File

@@ -11,7 +11,7 @@ type Props = {
11 11
      * Prop to set the size of the indicator. This is the same as the
12 12
      * prop of the native component.
13 13
      */
14
-    size: 'large' | 'medium' | 'small'
14
+    size: 'large' | 'small'
15 15
 };
16 16
 
17 17
 /**
@@ -40,7 +40,7 @@ export default class LoadingIndicator extends Component<Props> {
40 40
             size
41 41
         };
42 42
 
43
-        return (// $FlowFixMe
43
+        return (
44 44
             <ActivityIndicator
45 45
                 animating = { true }
46 46
                 color = { ColorPalette.white }

+ 1
- 2
react/features/base/react/components/native/PagedList.js View File

@@ -2,9 +2,9 @@
2 2
 
3 3
 import React, { Component } from 'react';
4 4
 import { SafeAreaView, Text, TouchableOpacity, View } from 'react-native';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import { Icon } from '../../../font-icons';
7
+import { connect } from '../../../redux';
8 8
 
9 9
 import styles from './styles';
10 10
 
@@ -283,5 +283,4 @@ class PagedList extends Component<Props, State> {
283 283
     }
284 284
 }
285 285
 
286
-// $FlowExpectedError
287 286
 export default connect()(PagedList);

+ 1
- 2
react/features/base/react/components/web/Watermarks.js View File

@@ -1,9 +1,9 @@
1 1
 /* @flow */
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 
6 5
 import { translate } from '../../../i18n';
6
+import { connect } from '../../../redux';
7 7
 
8 8
 declare var interfaceConfig: Object;
9 9
 
@@ -242,5 +242,4 @@ function _mapStateToProps(state) {
242 242
     };
243 243
 }
244 244
 
245
-// $FlowExpectedError
246 245
 export default connect(_mapStateToProps)(translate(Watermarks));

+ 14
- 0
react/features/base/redux/functions.js View File

@@ -1,6 +1,7 @@
1 1
 // @flow
2 2
 
3 3
 import _ from 'lodash';
4
+import { connect as reduxConnect } from 'react-redux';
4 5
 
5 6
 /**
6 7
  * Sets specific properties of a specific state to specific values and prevents
@@ -25,6 +26,19 @@ export function assign(target: Object, source: Object) {
25 26
     return t;
26 27
 }
27 28
 
29
+/**
30
+ * Wrapper function for the react-redux connect function to avoid having to
31
+ * declare function types for flow, but still let flow warn for other errors.
32
+ *
33
+ * @param {Function?} mapStateToProps - Redux mapStateToProps function.
34
+ * @param {Function?} mapDispatchToProps - Redux mapDispatchToProps function.
35
+ * @returns {Connector}
36
+ */
37
+export function connect(
38
+        mapStateToProps?: Function, mapDispatchToProps?: Function) {
39
+    return reduxConnect<*, *, *, *, *, *>(mapStateToProps, mapDispatchToProps);
40
+}
41
+
28 42
 /**
29 43
  * Determines whether {@code a} equals {@code b} according to deep comparison
30 44
  * (which makes sense for Redux and its state definition).

+ 2
- 2
react/features/base/responsive-ui/components/AspectRatioAware.js View File

@@ -1,7 +1,8 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
4
+
5
+import { connect } from '../../redux';
5 6
 
6 7
 import { ASPECT_RATIO_NARROW, ASPECT_RATIO_WIDE } from '../constants';
7 8
 
@@ -51,7 +52,6 @@ export function makeAspectRatioAware(
51 52
         }
52 53
     }
53 54
 
54
-    // $FlowFixMe
55 55
     return connect(_mapStateToProps)(AspectRatioAware);
56 56
 }
57 57
 

+ 2
- 2
react/features/base/responsive-ui/components/AspectRatioDetector.js View File

@@ -1,9 +1,10 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component, type Node } from 'react';
4
-import { connect } from 'react-redux';
5 4
 import { type Dispatch } from 'redux';
6 5
 
6
+import { connect } from '../../redux';
7
+
7 8
 import { setAspectRatio } from '../actions';
8 9
 import DimensionsDetector from './DimensionsDetector';
9 10
 
@@ -69,5 +70,4 @@ function _mapDispatchToProps(dispatch: Dispatch<any>) {
69 70
     };
70 71
 }
71 72
 
72
-// $FlowExpectedError
73 73
 export default connect(undefined, _mapDispatchToProps)(AspectRatioDetector);

+ 2
- 2
react/features/base/responsive-ui/components/ReducedUIDetector.js View File

@@ -1,9 +1,10 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component, type Node } from 'react';
4
-import { connect } from 'react-redux';
5 4
 import { type Dispatch } from 'redux';
6 5
 
6
+import { connect } from '../../redux';
7
+
7 8
 import { setReducedUI } from '../actions';
8 9
 import DimensionsDetector from './DimensionsDetector';
9 10
 
@@ -70,5 +71,4 @@ function _mapDispatchToProps(dispatch: Dispatch<any>) {
70 71
     };
71 72
 }
72 73
 
73
-// $FlowExpectedError
74 74
 export default connect(undefined, _mapDispatchToProps)(ReducedUIDetector);

+ 1
- 2
react/features/base/sounds/components/SoundCollection.js View File

@@ -1,10 +1,10 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 
6 5
 import { Audio } from '../../media';
7 6
 import type { AudioElement } from '../../media';
7
+import { connect } from '../../redux';
8 8
 
9 9
 import { _addAudioElement, _removeAudioElement } from '../actions';
10 10
 import type { Sound } from '../reducer';
@@ -153,5 +153,4 @@ export function _mapDispatchToProps(dispatch: Function) {
153 153
     };
154 154
 }
155 155
 
156
-// $FlowExpectedError
157 156
 export default connect(_mapStateToProps, _mapDispatchToProps)(SoundCollection);

+ 1
- 2
react/features/base/testing/components/TestConnectionInfo.js View File

@@ -1,9 +1,9 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component, Fragment } from 'react';
4
-import { connect } from 'react-redux';
5 4
 
6 5
 import { getLocalParticipant } from '../../participants';
6
+import { connect } from '../../redux';
7 7
 
8 8
 // FIXME this imports feature to 'base'
9 9
 import { statsEmitter } from '../../../connection-indicator';
@@ -215,5 +215,4 @@ function _mapStateToProps(state) {
215 215
     };
216 216
 }
217 217
 
218
-// $FlowExpectedError
219 218
 export default connect(_mapStateToProps)(TestConnectionInfo);

+ 2
- 1
react/features/base/testing/components/TestHint.android.js View File

@@ -1,9 +1,10 @@
1 1
 /* @flow */
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 import { Text } from 'react-native';
6 5
 
6
+import { connect } from '../../redux';
7
+
7 8
 import type { TestHintProps } from './AbstractTestHint';
8 9
 import { _mapStateToProps } from './AbstractTestHint';
9 10
 

+ 2
- 2
react/features/base/testing/components/TestHint.ios.js View File

@@ -1,9 +1,10 @@
1 1
 /* @flow */
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 import { Text } from 'react-native';
6 5
 
6
+import { connect } from '../../redux';
7
+
7 8
 import type { TestHintProps } from './AbstractTestHint';
8 9
 import { _mapStateToProps } from './AbstractTestHint';
9 10
 
@@ -34,5 +35,4 @@ class TestHint extends Component<TestHintProps> {
34 35
     }
35 36
 }
36 37
 
37
-// $FlowExpectedError
38 38
 export default connect(_mapStateToProps)(TestHint);

+ 1
- 1
react/features/calendar-sync/components/AddMeetingUrlButton.web.js View File

@@ -2,7 +2,6 @@
2 2
 
3 3
 import Tooltip from '@atlaskit/tooltip';
4 4
 import React, { Component } from 'react';
5
-import { connect } from 'react-redux';
6 5
 import type { Dispatch } from 'redux';
7 6
 
8 7
 import {
@@ -10,6 +9,7 @@ import {
10 9
     sendAnalytics
11 10
 } from '../../analytics';
12 11
 import { translate } from '../../base/i18n';
12
+import { connect } from '../../base/redux';
13 13
 
14 14
 import { updateCalendarEvent } from '../actions';
15 15
 

+ 1
- 1
react/features/calendar-sync/components/CalendarList.native.js View File

@@ -2,11 +2,11 @@
2 2
 
3 3
 import React from 'react';
4 4
 import { Text, TouchableOpacity, View } from 'react-native';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import { openSettings } from '../../mobile/permissions';
8 7
 import { translate } from '../../base/i18n';
9 8
 import { AbstractPage } from '../../base/react';
9
+import { connect } from '../../base/redux';
10 10
 
11 11
 import { refreshCalendar } from '../actions';
12 12
 import { isCalendarEnabled } from '../functions';

+ 1
- 1
react/features/calendar-sync/components/CalendarList.web.js View File

@@ -2,10 +2,10 @@
2 2
 
3 3
 import Spinner from '@atlaskit/spinner';
4 4
 import React from 'react';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import { translate } from '../../base/i18n';
8 7
 import { AbstractPage } from '../../base/react';
8
+import { connect } from '../../base/redux';
9 9
 import { openSettingsDialog, SETTINGS_TABS } from '../../settings';
10 10
 import {
11 11
     createCalendarClickedEvent,

+ 1
- 1
react/features/calendar-sync/components/CalendarListContent.native.js View File

@@ -1,7 +1,6 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 
6 5
 import { appNavigate } from '../../app';
7 6
 import {
@@ -11,6 +10,7 @@ import {
11 10
 } from '../../analytics';
12 11
 import { getLocalizedDateFormatter, translate } from '../../base/i18n';
13 12
 import { NavigateSectionList } from '../../base/react';
13
+import { connect } from '../../base/redux';
14 14
 
15 15
 import { refreshCalendar, openUpdateCalendarEventDialog } from '../actions';
16 16
 import { isCalendarEnabled } from '../functions';

+ 1
- 3
react/features/calendar-sync/components/CalendarListContent.web.js View File

@@ -1,7 +1,6 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 
6 5
 import { appNavigate } from '../../app';
7 6
 import {
@@ -10,6 +9,7 @@ import {
10 9
     sendAnalytics
11 10
 } from '../../analytics';
12 11
 import { MeetingsList } from '../../base/react';
12
+import { connect } from '../../base/redux';
13 13
 
14 14
 import { isCalendarEnabled } from '../functions';
15 15
 
@@ -173,7 +173,5 @@ function _mapStateToProps(state: Object) {
173 173
 }
174 174
 
175 175
 export default isCalendarEnabled()
176
-
177
-    // $FlowExpectedError
178 176
     ? connect(_mapStateToProps)(CalendarListContent)
179 177
     : undefined;

+ 1
- 1
react/features/calendar-sync/components/ConferenceNotification.native.js View File

@@ -2,12 +2,12 @@
2 2
 
3 3
 import React, { Component } from 'react';
4 4
 import { Text, TouchableOpacity, View } from 'react-native';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import { appNavigate } from '../../app';
8 7
 import { getURLWithoutParamsNormalized } from '../../base/connection';
9 8
 import { Icon } from '../../base/font-icons';
10 9
 import { getLocalizedDateFormatter, translate } from '../../base/i18n';
10
+import { connect } from '../../base/redux';
11 11
 import { ASPECT_RATIO_NARROW } from '../../base/responsive-ui';
12 12
 
13 13
 import { isCalendarEnabled } from '../functions';

+ 1
- 1
react/features/calendar-sync/components/UpdateCalendarEventDialog.native.js View File

@@ -1,10 +1,10 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 
6 5
 import { ConfirmDialog } from '../../base/dialog';
7 6
 import { translate } from '../../base/i18n';
7
+import { connect } from '../../base/redux';
8 8
 
9 9
 import { updateCalendarEvent } from '../actions';
10 10
 

+ 4
- 3
react/features/calendar-sync/functions.any.js View File

@@ -107,15 +107,16 @@ export function _updateCalendarEntries(events: Array<Object>) {
107 107
  */
108 108
 function _checkPattern(str, positivePattern, negativePattern) {
109 109
     const positiveRegExp = new RegExp(positivePattern, 'gi');
110
-    let positiveMatch;
110
+    let positiveMatch = positiveRegExp.exec(str);
111 111
 
112
-    while ((positiveMatch = positiveRegExp.exec(str)) !== null) {
113
-        // $FlowFixMe
112
+    while (positiveMatch !== null) {
114 113
         const url = positiveMatch[0];
115 114
 
116 115
         if (!new RegExp(negativePattern, 'gi').exec(url)) {
117 116
             return url;
118 117
         }
118
+
119
+        positiveMatch = positiveRegExp.exec(str);
119 120
     }
120 121
 }
121 122
 

+ 0
- 1
react/features/calendar-sync/reducer.js View File

@@ -63,7 +63,6 @@ isCalendarEnabled()
63 63
             // knownDomains. At this point, it should have already been
64 64
             // translated into the new state format (namely, base/known-domains)
65 65
             // and the app no longer needs it.
66
-            // $FlowFixMe
67 66
             if (typeof state.knownDomains !== 'undefined') {
68 67
                 return set(state, 'knownDomains', undefined);
69 68
             }

+ 1
- 1
react/features/chat/components/native/Chat.js View File

@@ -3,10 +3,10 @@
3 3
 import React from 'react';
4 4
 import { SafeAreaView } from 'react-native';
5 5
 import { GiftedChat } from 'react-native-gifted-chat';
6
-import { connect } from 'react-redux';
7 6
 
8 7
 import { translate } from '../../../base/i18n';
9 8
 import { BackButton, Header, HeaderLabel, Modal } from '../../../base/react';
9
+import { connect } from '../../../base/redux';
10 10
 
11 11
 import AbstractChat, {
12 12
     _mapDispatchToProps,

+ 1
- 3
react/features/chat/components/native/ChatButton.js View File

@@ -1,8 +1,7 @@
1 1
 // @flow
2 2
 
3
-import { connect } from 'react-redux';
4
-
5 3
 import { getLocalParticipant } from '../../../base/participants';
4
+import { connect } from '../../../base/redux';
6 5
 import {
7 6
     AbstractButton,
8 7
     type AbstractButtonProps
@@ -126,5 +125,4 @@ function _mapStateToProps(state) {
126 125
     };
127 126
 }
128 127
 
129
-// $FlowExpectedError
130 128
 export default connect(_mapStateToProps, _mapDispatchToProps)(ChatButton);

+ 1
- 1
react/features/chat/components/native/ChatMessage.js View File

@@ -2,10 +2,10 @@
2 2
 
3 3
 import React from 'react';
4 4
 import { Text, View } from 'react-native';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import { getLocalizedDateFormatter, translate } from '../../../base/i18n';
8 7
 import { Avatar } from '../../../base/participants';
8
+import { connect } from '../../../base/redux';
9 9
 
10 10
 import AbstractChatMessage, {
11 11
     _mapStateToProps as _abstractMapStateToProps,

+ 1
- 1
react/features/chat/components/web/Chat.js View File

@@ -1,10 +1,10 @@
1 1
 // @flow
2 2
 
3 3
 import React from 'react';
4
-import { connect } from 'react-redux';
5 4
 import Transition from 'react-transition-group/Transition';
6 5
 
7 6
 import { translate } from '../../../base/i18n';
7
+import { connect } from '../../../base/redux';
8 8
 
9 9
 import AbstractChat, {
10 10
     _mapDispatchToProps,

+ 2
- 2
react/features/chat/components/web/ChatCounter.js View File

@@ -1,7 +1,8 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
4
+
5
+import { connect } from '../../../base/redux';
5 6
 
6 7
 import { getUnreadCount } from '../../functions';
7 8
 
@@ -57,5 +58,4 @@ function _mapStateToProps(state) {
57 58
     };
58 59
 }
59 60
 
60
-// $FlowExpectedError
61 61
 export default connect(_mapStateToProps)(ChatCounter);

+ 2
- 2
react/features/chat/components/web/ChatInput.js View File

@@ -1,10 +1,11 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 import Emoji from 'react-emoji-render';
6 5
 import type { Dispatch } from 'redux';
7 6
 
7
+import { connect } from '../../../base/redux';
8
+
8 9
 import { sendMessage } from '../../actions';
9 10
 
10 11
 import SmileysPanel from './SmileysPanel';
@@ -232,5 +233,4 @@ class ChatInput extends Component<Props, State> {
232 233
     }
233 234
 }
234 235
 
235
-// $FlowExpectedError
236 236
 export default connect()(ChatInput);

+ 1
- 1
react/features/chat/components/web/DisplayNameForm.js View File

@@ -2,10 +2,10 @@
2 2
 
3 3
 import { FieldTextStateless } from '@atlaskit/field-text';
4 4
 import React, { Component } from 'react';
5
-import { connect } from 'react-redux';
6 5
 import type { Dispatch } from 'redux';
7 6
 
8 7
 import { translate } from '../../../base/i18n';
8
+import { connect } from '../../../base/redux';
9 9
 import { updateSettings } from '../../../base/settings';
10 10
 
11 11
 /**

+ 1
- 2
react/features/conference/components/native/Conference.js View File

@@ -3,12 +3,12 @@
3 3
 import React from 'react';
4 4
 
5 5
 import { BackHandler, SafeAreaView, StatusBar, View } from 'react-native';
6
-import { connect as reactReduxConnect } from 'react-redux';
7 6
 
8 7
 import { appNavigate } from '../../../app';
9 8
 import { connect, disconnect } from '../../../base/connection';
10 9
 import { getParticipantCount } from '../../../base/participants';
11 10
 import { Container, LoadingIndicator, TintedView } from '../../../base/react';
11
+import { connect as reactReduxConnect } from '../../../base/redux';
12 12
 import {
13 13
     isNarrowAspectRatio,
14 14
     makeAspectRatioAware
@@ -540,6 +540,5 @@ function _mapStateToProps(state) {
540 540
     };
541 541
 }
542 542
 
543
-// $FlowFixMe
544 543
 export default reactReduxConnect(_mapStateToProps, _mapDispatchToProps)(
545 544
     makeAspectRatioAware(Conference));

+ 1
- 2
react/features/conference/components/native/DisplayNameLabel.js View File

@@ -2,13 +2,13 @@
2 2
 
3 3
 import React, { Component } from 'react';
4 4
 import { Text, View } from 'react-native';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import {
8 7
     getLocalParticipant,
9 8
     getParticipantDisplayName,
10 9
     shouldRenderParticipantVideo
11 10
 } from '../../../base/participants';
11
+import { connect } from '../../../base/redux';
12 12
 
13 13
 import { shouldDisplayTileView } from '../../../video-layout';
14 14
 
@@ -76,5 +76,4 @@ function _mapStateToProps(state: Object) {
76 76
     };
77 77
 }
78 78
 
79
-// $FlowExpectedError
80 79
 export default connect(_mapStateToProps)(DisplayNameLabel);

+ 1
- 2
react/features/conference/components/native/Labels.js View File

@@ -2,9 +2,9 @@
2 2
 
3 3
 import React from 'react';
4 4
 import { TouchableOpacity, View } from 'react-native';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
7
+import { connect } from '../../../base/redux';
8 8
 import {
9 9
     isNarrowAspectRatio,
10 10
     makeAspectRatioAware
@@ -370,5 +370,4 @@ function _mapStateToProps(state) {
370 370
     };
371 371
 }
372 372
 
373
-// $FlowExpectedError
374 373
 export default connect(_mapStateToProps)(makeAspectRatioAware(Labels));

+ 1
- 2
react/features/conference/components/native/NavigationBar.js View File

@@ -4,9 +4,9 @@ import _ from 'lodash';
4 4
 import React, { Component } from 'react';
5 5
 import { SafeAreaView, Text, View } from 'react-native';
6 6
 import LinearGradient from 'react-native-linear-gradient';
7
-import { connect } from 'react-redux';
8 7
 
9 8
 import { getConferenceName } from '../../../base/conference';
9
+import { connect } from '../../../base/redux';
10 10
 import { PictureInPictureButton } from '../../../mobile/picture-in-picture';
11 11
 import { isToolboxVisible } from '../../../toolbox';
12 12
 
@@ -87,5 +87,4 @@ function _mapStateToProps(state) {
87 87
     };
88 88
 }
89 89
 
90
-// $FlowExpectedError
91 90
 export default connect(_mapStateToProps)(NavigationBar);

+ 1
- 2
react/features/conference/components/web/Conference.js View File

@@ -2,13 +2,13 @@
2 2
 
3 3
 import _ from 'lodash';
4 4
 import React from 'react';
5
-import { connect as reactReduxConnect } from 'react-redux';
6 5
 
7 6
 import VideoLayout from '../../../../../modules/UI/videolayout/VideoLayout';
8 7
 
9 8
 import { obtainConfig } from '../../../base/config';
10 9
 import { connect, disconnect } from '../../../base/connection';
11 10
 import { translate } from '../../../base/i18n';
11
+import { connect as reactReduxConnect } from '../../../base/redux';
12 12
 import { Chat } from '../../../chat';
13 13
 import { Filmstrip } from '../../../filmstrip';
14 14
 import { CalleeInfoContainer } from '../../../invite';
@@ -293,5 +293,4 @@ function _mapStateToProps(state) {
293 293
     };
294 294
 }
295 295
 
296
-// $FlowExpectedError
297 296
 export default reactReduxConnect(_mapStateToProps)(translate(Conference));

+ 1
- 2
react/features/conference/components/web/Labels.js View File

@@ -1,9 +1,9 @@
1 1
 // @flow
2 2
 
3 3
 import React from 'react';
4
-import { connect } from 'react-redux';
5 4
 
6 5
 import { JitsiRecordingConstants } from '../../../base/lib-jitsi-meet';
6
+import { connect } from '../../../base/redux';
7 7
 
8 8
 import AbstractLabels, {
9 9
     _abstractMapStateToProps as _mapStateToProps,
@@ -105,5 +105,4 @@ class Labels extends AbstractLabels<Props, State> {
105 105
     _renderVideoQualityLabel: () => React$Element<*>;
106 106
 }
107 107
 
108
-// $FlowExpectedError
109 108
 export default connect(_mapStateToProps)(Labels);

+ 1
- 1
react/features/conference/components/web/Notice.js View File

@@ -1,9 +1,9 @@
1 1
 /* @flow */
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 
6 5
 import { translate } from '../../../base/i18n';
6
+import { connect } from '../../../base/redux';
7 7
 
8 8
 declare var config: Object;
9 9
 

+ 1
- 2
react/features/conference/components/web/Subject.js View File

@@ -1,8 +1,8 @@
1 1
 /* @flow */
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 
5
+import { connect } from '../../../base/redux';
6 6
 import { isToolboxVisible } from '../../../toolbox';
7 7
 
8 8
 /**
@@ -65,5 +65,4 @@ function _mapStateToProps(state) {
65 65
     };
66 66
 }
67 67
 
68
-// $FlowExpectedError
69 68
 export default connect(_mapStateToProps)(Subject);

+ 1
- 1
react/features/deep-linking/components/DeepLinkingDesktopPage.web.js View File

@@ -3,7 +3,7 @@
3 3
 import Button, { ButtonGroup } from '@atlaskit/button';
4 4
 import { AtlasKitThemeProvider } from '@atlaskit/theme';
5 5
 import React, { Component } from 'react';
6
-import { connect } from 'react-redux';
6
+import { connect } from '../../base/redux';
7 7
 import type { Dispatch } from 'redux';
8 8
 
9 9
 import { createDeepLinkingPageEvent, sendAnalytics } from '../../analytics';

+ 1
- 1
react/features/deep-linking/components/DeepLinkingMobilePage.web.js View File

@@ -1,7 +1,7 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
4
+import { connect } from '../../base/redux';
5 5
 
6 6
 import { createDeepLinkingPageEvent, sendAnalytics } from '../../analytics';
7 7
 import { translate, translateToHTML } from '../../base/i18n';

+ 1
- 1
react/features/desktop-picker/components/DesktopPicker.js View File

@@ -2,7 +2,7 @@
2 2
 
3 3
 import Tabs from '@atlaskit/tabs';
4 4
 import React, { PureComponent } from 'react';
5
-import { connect } from 'react-redux';
5
+import { connect } from '../../base/redux';
6 6
 import type { Dispatch } from 'redux';
7 7
 
8 8
 import { Dialog, hideDialog } from '../../base/dialog';

+ 1
- 1
react/features/display-name/components/DisplayName.web.js View File

@@ -1,7 +1,7 @@
1 1
 /* @flow */
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
4
+import { connect } from '../../base/redux';
5 5
 import type { Dispatch } from 'redux';
6 6
 
7 7
 import { appendSuffix } from '../functions';

+ 1
- 2
react/features/display-name/components/DisplayNamePrompt.native.js View File

@@ -1,7 +1,7 @@
1 1
 // @flow
2 2
 
3 3
 import React from 'react';
4
-import { connect } from 'react-redux';
4
+import { connect } from '../../base/redux';
5 5
 
6 6
 import { InputDialog } from '../../base/dialog';
7 7
 
@@ -27,5 +27,4 @@ class DisplayNamePrompt extends AbstractDisplayNamePrompt<*> {
27 27
     _onSetDisplayName: string => boolean;
28 28
 }
29 29
 
30
-// $FlowExpectedError
31 30
 export default connect()(DisplayNamePrompt);

+ 1
- 1
react/features/display-name/components/DisplayNamePrompt.web.js View File

@@ -1,7 +1,7 @@
1 1
 /* @flow */
2 2
 
3 3
 import React from 'react';
4
-import { connect } from 'react-redux';
4
+import { connect } from '../../base/redux';
5 5
 import { FieldTextStateless as TextField } from '@atlaskit/field-text';
6 6
 
7 7
 import { Dialog } from '../../base/dialog';

+ 1
- 1
react/features/feedback/components/FeedbackDialog.web.js View File

@@ -4,7 +4,7 @@ import { FieldTextAreaStateless } from '@atlaskit/field-text-area';
4 4
 import StarIcon from '@atlaskit/icon/glyph/star';
5 5
 import StarFilledIcon from '@atlaskit/icon/glyph/star-filled';
6 6
 import React, { Component } from 'react';
7
-import { connect } from 'react-redux';
7
+import { connect } from '../../base/redux';
8 8
 import type { Dispatch } from 'redux';
9 9
 
10 10
 import {

+ 1
- 2
react/features/filmstrip/components/native/Filmstrip.js View File

@@ -2,9 +2,9 @@
2 2
 
3 3
 import React, { Component } from 'react';
4 4
 import { ScrollView } from 'react-native';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import { Container, Platform } from '../../../base/react';
7
+import { connect } from '../../../base/redux';
8 8
 import {
9 9
     isNarrowAspectRatio,
10 10
     makeAspectRatioAware
@@ -219,5 +219,4 @@ function _mapStateToProps(state) {
219 219
     };
220 220
 }
221 221
 
222
-// $FlowExpectedError
223 222
 export default connect(_mapStateToProps)(makeAspectRatioAware(Filmstrip));

+ 1
- 2
react/features/filmstrip/components/native/LocalThumbnail.js View File

@@ -2,9 +2,9 @@
2 2
 
3 3
 import React, { Component } from 'react';
4 4
 import { View } from 'react-native';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import { getLocalParticipant } from '../../../base/participants';
7
+import { connect } from '../../../base/redux';
8 8
 
9 9
 import styles from '../styles';
10 10
 import Thumbnail from './Thumbnail';
@@ -60,5 +60,4 @@ function _mapStateToProps(state) {
60 60
     };
61 61
 }
62 62
 
63
-// $FlowExpectedError
64 63
 export default connect(_mapStateToProps)(LocalThumbnail);

+ 1
- 2
react/features/filmstrip/components/native/Thumbnail.js View File

@@ -1,7 +1,6 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 import type { Dispatch } from 'redux';
6 5
 
7 6
 import { ColorSchemeRegistry } from '../../../base/color-scheme';
@@ -14,6 +13,7 @@ import {
14 13
     pinParticipant
15 14
 } from '../../../base/participants';
16 15
 import { Container } from '../../../base/react';
16
+import { connect } from '../../../base/redux';
17 17
 import { StyleType } from '../../../base/styles';
18 18
 import { getTrackByMediaTypeAndParticipant } from '../../../base/tracks';
19 19
 
@@ -255,5 +255,4 @@ function _mapStateToProps(state, ownProps) {
255 255
     };
256 256
 }
257 257
 
258
-// $FlowExpectedError
259 258
 export default connect(_mapStateToProps, _mapDispatchToProps)(Thumbnail);

+ 1
- 2
react/features/filmstrip/components/native/TileView.js View File

@@ -6,13 +6,13 @@ import {
6 6
     TouchableWithoutFeedback,
7 7
     View
8 8
 } from 'react-native';
9
-import { connect } from 'react-redux';
10 9
 import type { Dispatch } from 'redux';
11 10
 
12 11
 import {
13 12
     getNearestReceiverVideoQualityLevel,
14 13
     setMaxReceiverVideoQuality
15 14
 } from '../../../base/conference';
15
+import { connect } from '../../../base/redux';
16 16
 import {
17 17
     DimensionsDetector,
18 18
     isNarrowAspectRatio,
@@ -335,5 +335,4 @@ function _mapStateToProps(state) {
335 335
     };
336 336
 }
337 337
 
338
-// $FlowExpectedError
339 338
 export default connect(_mapStateToProps)(makeAspectRatioAware(TileView));

+ 1
- 2
react/features/filmstrip/components/web/Filmstrip.js View File

@@ -2,7 +2,6 @@
2 2
 
3 3
 import _ from 'lodash';
4 4
 import React, { Component } from 'react';
5
-import { connect } from 'react-redux';
6 5
 import type { Dispatch } from 'redux';
7 6
 
8 7
 import {
@@ -10,6 +9,7 @@ import {
10 9
     createToolbarEvent,
11 10
     sendAnalytics
12 11
 } from '../../../analytics';
12
+import { connect } from '../../../base/redux';
13 13
 import { dockToolbox } from '../../../toolbox';
14 14
 
15 15
 import { setFilmstripHovered, setFilmstripVisible } from '../../actions';
@@ -319,5 +319,4 @@ function _mapStateToProps(state) {
319 319
     };
320 320
 }
321 321
 
322
-// $FlowExpectedError
323 322
 export default connect(_mapStateToProps)(Filmstrip);

+ 1
- 2
react/features/filmstrip/components/web/Toolbar.js View File

@@ -1,8 +1,8 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 
5
+import { connect } from '../../../base/redux';
6 6
 import { SettingsButton } from '../../../settings';
7 7
 import {
8 8
     AudioMuteButton,
@@ -90,5 +90,4 @@ function _mapStateToProps(state): Object { // eslint-disable-line no-unused-vars
90 90
     };
91 91
 }
92 92
 
93
-// $FlowExpectedError
94 93
 export default connect(_mapStateToProps)(Toolbar);

+ 1
- 1
react/features/invite/components/InfoDialogButton.web.js View File

@@ -2,7 +2,6 @@
2 2
 
3 3
 import InlineDialog from '@atlaskit/inline-dialog';
4 4
 import React, { Component } from 'react';
5
-import { connect } from 'react-redux';
6 5
 import type { Dispatch } from 'redux';
7 6
 
8 7
 import { createToolbarEvent, sendAnalytics } from '../../analytics';
@@ -11,6 +10,7 @@ import { translate } from '../../base/i18n';
11 10
 import { JitsiRecordingConstants } from '../../base/lib-jitsi-meet';
12 11
 import { getParticipantCount } from '../../base/participants';
13 12
 import { OverflowMenuItem } from '../../base/toolbox';
13
+import { connect } from '../../base/redux';
14 14
 import { getActiveSession } from '../../recording';
15 15
 import { ToolbarButton } from '../../toolbox';
16 16
 import { updateDialInNumbers } from '../actions';

+ 1
- 1
react/features/invite/components/InviteButton.native.js View File

@@ -1,9 +1,9 @@
1 1
 // @flow
2 2
 
3
-import { connect } from 'react-redux';
4 3
 import type { Dispatch } from 'redux';
5 4
 
6 5
 import { translate } from '../../base/i18n';
6
+import { connect } from '../../base/redux';
7 7
 import { AbstractButton } from '../../base/toolbox';
8 8
 import type { AbstractButtonProps } from '../../base/toolbox';
9 9
 import { beginShareRoom } from '../../share-room';

+ 1
- 1
react/features/invite/components/add-people-dialog/native/AddPeopleDialog.js View File

@@ -11,7 +11,6 @@ import {
11 11
     TouchableOpacity,
12 12
     View
13 13
 } from 'react-native';
14
-import { connect } from 'react-redux';
15 14
 
16 15
 import { Icon } from '../../../../base/font-icons';
17 16
 import { translate } from '../../../../base/i18n';
@@ -24,6 +23,7 @@ import {
24 23
     Modal,
25 24
     type Item
26 25
 } from '../../../../base/react';
26
+import { connect } from '../../../../base/redux';
27 27
 
28 28
 import { setAddPeopleDialogVisible } from '../../../actions';
29 29
 

+ 1
- 1
react/features/invite/components/add-people-dialog/web/AddPeopleDialog.js View File

@@ -3,7 +3,6 @@
3 3
 import Avatar from '@atlaskit/avatar';
4 4
 import InlineMessage from '@atlaskit/inline-message';
5 5
 import React from 'react';
6
-import { connect } from 'react-redux';
7 6
 import type { Dispatch } from 'redux';
8 7
 
9 8
 import { createInviteDialogEvent, sendAnalytics } from '../../../../analytics';
@@ -11,6 +10,7 @@ import { Dialog, hideDialog } from '../../../../base/dialog';
11 10
 import { translate, translateToHTML } from '../../../../base/i18n';
12 11
 import { getLocalParticipant } from '../../../../base/participants';
13 12
 import { MultiSelectAutocomplete } from '../../../../base/react';
13
+import { connect } from '../../../../base/redux';
14 14
 
15 15
 import AbstractAddPeopleDialog, {
16 16
     type Props as AbstractProps,

+ 1
- 2
react/features/invite/components/callee-info/CalleeInfo.js View File

@@ -1,7 +1,6 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 
6 5
 import { MEDIA_TYPE } from '../../../base/media';
7 6
 import {
@@ -12,6 +11,7 @@ import {
12 11
     getParticipantPresenceStatus
13 12
 } from '../../../base/participants';
14 13
 import { Container, Text } from '../../../base/react';
14
+import { connect } from '../../../base/redux';
15 15
 import { isLocalTrackMuted } from '../../../base/tracks';
16 16
 import { CALLING, PresenceLabel } from '../../../presence-status';
17 17
 
@@ -158,5 +158,4 @@ function _mapStateToProps(state) {
158 158
     };
159 159
 }
160 160
 
161
-// $FlowExpectedError
162 161
 export default connect(_mapStateToProps)(CalleeInfo);

+ 2
- 2
react/features/invite/components/callee-info/CalleeInfoContainer.js View File

@@ -1,7 +1,8 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
4
+
5
+import { connect } from '../../../base/redux';
5 6
 
6 7
 import CalleeInfo from './CalleeInfo';
7 8
 
@@ -61,5 +62,4 @@ function _mapStateToProps(state: Object): Object {
61 62
     };
62 63
 }
63 64
 
64
-// $FlowExpectedError
65 65
 export default connect(_mapStateToProps)(CalleeInfoContainer);

+ 1
- 1
react/features/invite/components/info-dialog/InfoDialog.web.js View File

@@ -1,13 +1,13 @@
1 1
 /* @flow */
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 import type { Dispatch } from 'redux';
6 5
 
7 6
 import { setPassword } from '../../../base/conference';
8 7
 import { getInviteURL } from '../../../base/connection';
9 8
 import { Dialog } from '../../../base/dialog';
10 9
 import { translate } from '../../../base/i18n';
10
+import { connect } from '../../../base/redux';
11 11
 import { isLocalParticipantModerator } from '../../../base/participants';
12 12
 
13 13
 import { _getDefaultPhoneNumber, getDialInfoPageURL } from '../../functions';

+ 1
- 2
react/features/large-video/components/LargeVideo.native.js View File

@@ -1,10 +1,10 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 
6 5
 import { ColorSchemeRegistry } from '../../base/color-scheme';
7 6
 import { ParticipantView } from '../../base/participants';
7
+import { connect } from '../../base/redux';
8 8
 import { DimensionsDetector } from '../../base/responsive-ui';
9 9
 import { StyleType } from '../../base/styles';
10 10
 
@@ -159,5 +159,4 @@ function _mapStateToProps(state) {
159 159
     };
160 160
 }
161 161
 
162
-// $FlowExpectedError
163 162
 export default connect(_mapStateToProps)(LargeVideo);

+ 1
- 1
react/features/local-recording/components/LocalRecordingInfoDialog.js View File

@@ -2,7 +2,6 @@
2 2
 
3 3
 import moment from 'moment';
4 4
 import React, { Component } from 'react';
5
-import { connect } from 'react-redux';
6 5
 import type { Dispatch } from 'redux';
7 6
 
8 7
 import { Dialog } from '../../base/dialog';
@@ -11,6 +10,7 @@ import {
11 10
     PARTICIPANT_ROLE,
12 11
     getLocalParticipant
13 12
 } from '../../base/participants';
13
+import { connect } from '../../base/redux';
14 14
 
15 15
 import { statsUpdate } from '../actions';
16 16
 import { recordingController } from '../controller';

+ 1
- 1
react/features/local-recording/components/LocalRecordingLabel.web.js View File

@@ -2,10 +2,10 @@
2 2
 
3 3
 import Tooltip from '@atlaskit/tooltip';
4 4
 import React, { Component } from 'react';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import { translate } from '../../base/i18n/index';
8 7
 import { CircularLabel } from '../../base/label/index';
8
+import { connect } from '../../base/redux';
9 9
 
10 10
 
11 11
 /**

+ 1
- 1
react/features/mobile/audio-mode/components/AudioRouteButton.js View File

@@ -7,10 +7,10 @@ import {
7 7
     requireNativeComponent,
8 8
     View
9 9
 } from 'react-native';
10
-import { connect } from 'react-redux';
11 10
 
12 11
 import { openDialog } from '../../../base/dialog';
13 12
 import { translate } from '../../../base/i18n';
13
+import { connect } from '../../../base/redux';
14 14
 import { AbstractButton } from '../../../base/toolbox';
15 15
 import type { AbstractButtonProps } from '../../../base/toolbox';
16 16
 

+ 1
- 1
react/features/mobile/audio-mode/components/AudioRoutePickerDialog.js View File

@@ -3,11 +3,11 @@
3 3
 import _ from 'lodash';
4 4
 import React, { Component } from 'react';
5 5
 import { NativeModules, Text, TouchableHighlight, View } from 'react-native';
6
-import { connect } from 'react-redux';
7 6
 
8 7
 import { hideDialog, BottomSheet } from '../../../base/dialog';
9 8
 import { translate } from '../../../base/i18n';
10 9
 import { Icon } from '../../../base/font-icons';
10
+import { connect } from '../../../base/redux';
11 11
 import { ColorPalette } from '../../../base/styles';
12 12
 
13 13
 import styles from './styles';

+ 1
- 2
react/features/mobile/incoming-call/components/AnswerButton.js View File

@@ -1,8 +1,7 @@
1 1
 // @flow
2 2
 
3
-import { connect } from 'react-redux';
4
-
5 3
 import { translate } from '../../../base/i18n';
4
+import { connect } from '../../../base/redux';
6 5
 import { AbstractButton } from '../../../base/toolbox';
7 6
 import type { AbstractButtonProps } from '../../../base/toolbox';
8 7
 

+ 1
- 2
react/features/mobile/incoming-call/components/DeclineButton.js View File

@@ -1,8 +1,7 @@
1 1
 // @flow
2 2
 
3
-import { connect } from 'react-redux';
4
-
5 3
 import { translate } from '../../../base/i18n';
4
+import { connect } from '../../../base/redux';
6 5
 import { AbstractButton } from '../../../base/toolbox';
7 6
 import type { AbstractButtonProps } from '../../../base/toolbox';
8 7
 

+ 1
- 1
react/features/mobile/incoming-call/components/IncomingCallPage.js View File

@@ -3,10 +3,10 @@
3 3
 import React, { Component } from 'react';
4 4
 import { Image, Text, View } from 'react-native';
5 5
 import LinearGradient from 'react-native-linear-gradient';
6
-import { connect } from 'react-redux';
7 6
 
8 7
 import { translate } from '../../../base/i18n';
9 8
 import { Avatar } from '../../../base/participants';
9
+import { connect } from '../../../base/redux';
10 10
 
11 11
 import AnswerButton from './AnswerButton';
12 12
 import DeclineButton from './DeclineButton';

+ 1
- 2
react/features/mobile/network-activity/components/NetworkActivityIndicator.js View File

@@ -1,9 +1,9 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 
6 5
 import { LoadingIndicator } from '../../../base/react';
6
+import { connect } from '../../../base/redux';
7 7
 
8 8
 /**
9 9
  * The type of the React {@code Component} props of
@@ -52,5 +52,4 @@ function _mapStateToProps(state) {
52 52
     };
53 53
 }
54 54
 
55
-// $FlowExpectedError
56 55
 export default connect(_mapStateToProps)(NetworkActivityIndicator);

+ 1
- 2
react/features/mobile/picture-in-picture/components/PictureInPictureButton.js View File

@@ -1,9 +1,8 @@
1 1
 // @flow
2 2
 
3
-import { connect } from 'react-redux';
4
-
5 3
 import { getAppProp } from '../../../base/app';
6 4
 import { translate } from '../../../base/i18n';
5
+import { connect } from '../../../base/redux';
7 6
 import { AbstractButton } from '../../../base/toolbox';
8 7
 import type { AbstractButtonProps } from '../../../base/toolbox';
9 8
 

+ 2
- 2
react/features/notifications/components/NotificationsContainer.native.js View File

@@ -2,7 +2,8 @@
2 2
 
3 3
 import React from 'react';
4 4
 import { View } from 'react-native';
5
-import { connect } from 'react-redux';
5
+
6
+import { connect } from '../../base/redux';
6 7
 
7 8
 import AbstractNotificationsContainer, {
8 9
     _abstractMapStateToProps,
@@ -63,5 +64,4 @@ class NotificationsContainer
63 64
     _onDismissed: number => void;
64 65
 }
65 66
 
66
-// $FlowExpectedError
67 67
 export default connect(_abstractMapStateToProps)(NotificationsContainer);

+ 2
- 2
react/features/notifications/components/NotificationsContainer.web.js View File

@@ -2,7 +2,8 @@
2 2
 
3 3
 import { FlagGroup } from '@atlaskit/flag';
4 4
 import React from 'react';
5
-import { connect } from 'react-redux';
5
+
6
+import { connect } from '../../base/redux';
6 7
 
7 8
 import AbstractNotificationsContainer, {
8 9
     _abstractMapStateToProps as _mapStateToProps,
@@ -63,5 +64,4 @@ class NotificationsContainer extends AbstractNotificationsContainer<Props> {
63 64
     }
64 65
 }
65 66
 
66
-// $FlowExpectedError
67 67
 export default connect(_mapStateToProps)(NotificationsContainer);

+ 1
- 2
react/features/overlay/components/FilmstripOnlyOverlayFrame.js View File

@@ -1,13 +1,13 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 
6 5
 import {
7 6
     Avatar,
8 7
     getAvatarURL,
9 8
     getLocalParticipant
10 9
 } from '../../base/participants';
10
+import { connect } from '../../base/redux';
11 11
 
12 12
 import OverlayFrame from './OverlayFrame';
13 13
 
@@ -112,5 +112,4 @@ function _mapStateToProps(state) {
112 112
     };
113 113
 }
114 114
 
115
-// $FlowExpectedError
116 115
 export default connect(_mapStateToProps)(FilmstripOnlyOverlayFrame);

+ 2
- 2
react/features/overlay/components/OverlayContainer.js View File

@@ -1,7 +1,8 @@
1 1
 // @flow
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
4
+
5
+import { connect } from '../../base/redux';
5 6
 
6 7
 import { getOverlayToRender } from '../functions';
7 8
 
@@ -58,5 +59,4 @@ function _mapStateToProps(state) {
58 59
     };
59 60
 }
60 61
 
61
-// $FlowExpectedError
62 62
 export default connect(_mapStateToProps)(OverlayContainer);

+ 1
- 1
react/features/overlay/components/PageReloadFilmstripOnlyOverlay.js View File

@@ -1,7 +1,7 @@
1 1
 import React from 'react';
2
-import { connect } from 'react-redux';
3 2
 
4 3
 import { translate } from '../../base/i18n';
4
+import { connect } from '../../base/redux';
5 5
 
6 6
 import AbstractPageReloadOverlay, { abstractMapStateToProps }
7 7
     from './AbstractPageReloadOverlay';

+ 1
- 1
react/features/overlay/components/PageReloadOverlay.native.js View File

@@ -2,12 +2,12 @@
2 2
 
3 3
 import React from 'react';
4 4
 import { Text } from 'react-native';
5
-import { connect } from 'react-redux';
6 5
 
7 6
 import { appNavigate, reloadNow } from '../../app';
8 7
 import { ColorSchemeRegistry } from '../../base/color-scheme';
9 8
 import { ConfirmDialog } from '../../base/dialog';
10 9
 import { translate } from '../../base/i18n';
10
+import { connect } from '../../base/redux';
11 11
 import { StyleType } from '../../base/styles';
12 12
 
13 13
 import AbstractPageReloadOverlay, {

+ 1
- 1
react/features/overlay/components/PageReloadOverlay.web.js View File

@@ -1,9 +1,9 @@
1 1
 // @flow
2 2
 
3 3
 import React from 'react';
4
-import { connect } from 'react-redux';
5 4
 
6 5
 import { translate } from '../../base/i18n';
6
+import { connect } from '../../base/redux';
7 7
 
8 8
 import AbstractPageReloadOverlay, {
9 9
     abstractMapStateToProps,

+ 1
- 1
react/features/overlay/components/ReloadButton.js View File

@@ -1,10 +1,10 @@
1 1
 /* @flow */
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 
6 5
 import { reloadNow } from '../../app';
7 6
 import { translate } from '../../base/i18n';
7
+import { connect } from '../../base/redux';
8 8
 
9 9
 /**
10 10
  * The type of the React {@code Component} props of {@link ReloadButton}.

+ 1
- 1
react/features/overlay/components/UserMediaPermissionsFilmstripOnlyOverlay.js View File

@@ -1,7 +1,7 @@
1 1
 import React from 'react';
2
-import { connect } from 'react-redux';
3 2
 
4 3
 import { translate, translateToHTML } from '../../base/i18n';
4
+import { connect } from '../../base/redux';
5 5
 
6 6
 import AbstractUserMediaPermissionsOverlay, { abstractMapStateToProps }
7 7
     from './AbstractUserMediaPermissionsOverlay';

+ 1
- 1
react/features/overlay/components/UserMediaPermissionsOverlay.js View File

@@ -1,9 +1,9 @@
1 1
 /* global interfaceConfig */
2 2
 
3 3
 import React from 'react';
4
-import { connect } from 'react-redux';
5 4
 
6 5
 import { translate, translateToHTML } from '../../base/i18n';
6
+import { connect } from '../../base/redux';
7 7
 
8 8
 import AbstractUserMediaPermissionsOverlay, { abstractMapStateToProps }
9 9
     from './AbstractUserMediaPermissionsOverlay';

+ 1
- 1
react/features/presence-status/components/PresenceLabel.js View File

@@ -1,11 +1,11 @@
1 1
 /* @flow */
2 2
 
3 3
 import React, { Component } from 'react';
4
-import { connect } from 'react-redux';
5 4
 
6 5
 import { translate } from '../../base/i18n';
7 6
 import { getParticipantById } from '../../base/participants';
8 7
 import { Text } from '../../base/react';
8
+import { connect } from '../../base/redux';
9 9
 
10 10
 import { STATUS_TO_I18N_KEY } from '../constants';
11 11
 

+ 2
- 3
react/features/recent-list/components/RecentList.native.js View File

@@ -1,13 +1,12 @@
1 1
 // @flow
2 2
 
3 3
 import React from 'react';
4
-import { connect } from 'react-redux';
5 4
 import type { Dispatch } from 'redux';
6 5
 
7 6
 import { getDefaultURL } from '../../app';
8 7
 import { translate } from '../../base/i18n';
9
-import { NavigateSectionList } from '../../base/react';
10
-import type { Section } from '../../base/react';
8
+import { NavigateSectionList, type Section } from '../../base/react';
9
+import { connect } from '../../base/redux';
11 10
 
12 11
 import { deleteRecentListEntry } from '../actions';
13 12
 import { isRecentListEnabled, toDisplayableList } from '../functions';

+ 1
- 1
react/features/recent-list/components/RecentList.web.js View File

@@ -1,11 +1,11 @@
1 1
 // @flow
2 2
 
3 3
 import React from 'react';
4
-import { connect } from 'react-redux';
5 4
 import type { Dispatch } from 'redux';
6 5
 
7 6
 import { translate } from '../../base/i18n';
8 7
 import { MeetingsList } from '../../base/react';
8
+import { connect } from '../../base/redux';
9 9
 
10 10
 import AbstractRecentList from './AbstractRecentList';
11 11
 import { isRecentListEnabled, toDisplayableList } from '../functions';

+ 0
- 0
react/features/recording/components/LiveStream/native/GoogleSigninForm.js View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save