Browse Source

[RN] Move all mobile only features to a subdirectory

j8
Saúl Ibarra Corretgé 8 years ago
parent
commit
c5eac63da1

+ 4
- 4
react/features/app/components/App.native.js View File

@@ -2,11 +2,11 @@
2 2
 
3 3
 import { Linking } from 'react-native';
4 4
 
5
-import '../../audio-mode';
6
-import '../../background';
7 5
 import { Platform } from '../../base/react';
8
-import '../../full-screen';
9
-import '../../wake-lock';
6
+import '../../mobile/audio-mode';
7
+import '../../mobile/background';
8
+import '../../mobile/full-screen';
9
+import '../../mobile/wake-lock';
10 10
 
11 11
 import { AbstractApp } from './AbstractApp';
12 12
 

react/features/audio-mode/index.js → react/features/mobile/audio-mode/index.js View File


react/features/audio-mode/middleware.js → react/features/mobile/audio-mode/middleware.js View File

@@ -2,13 +2,13 @@
2 2
 
3 3
 import { NativeModules } from 'react-native';
4 4
 
5
-import { APP_WILL_MOUNT } from '../app';
5
+import { APP_WILL_MOUNT } from '../../app';
6 6
 import {
7 7
     CONFERENCE_FAILED,
8 8
     CONFERENCE_LEFT,
9 9
     CONFERENCE_WILL_JOIN
10
-} from '../base/conference';
11
-import { MiddlewareRegistry } from '../base/redux';
10
+} from '../../base/conference';
11
+import { MiddlewareRegistry } from '../../base/redux';
12 12
 
13 13
 /**
14 14
  * Middleware that captures conference actions and sets the correct audio mode

react/features/background/actionTypes.js → react/features/mobile/background/actionTypes.js View File

@@ -1,4 +1,4 @@
1
-import { Symbol } from '../base/react';
1
+import { Symbol } from '../../base/react';
2 2
 
3 3
 /**
4 4
  * The type of redux action to set the AppState API change event listener.

react/features/background/actions.js → react/features/mobile/background/actions.js View File

@@ -1,4 +1,4 @@
1
-import { setVideoMuted } from '../base/media';
1
+import { setVideoMuted } from '../../base/media';
2 2
 
3 3
 import {
4 4
     _SET_APP_STATE_LISTENER,

react/features/background/index.js → react/features/mobile/background/index.js View File


react/features/background/middleware.js → react/features/mobile/background/middleware.js View File

@@ -6,8 +6,8 @@ import type { Dispatch } from 'redux';
6 6
 import {
7 7
     APP_WILL_MOUNT,
8 8
     APP_WILL_UNMOUNT
9
-} from '../app';
10
-import { MiddlewareRegistry } from '../base/redux';
9
+} from '../../app';
10
+import { MiddlewareRegistry } from '../../base/redux';
11 11
 
12 12
 import {
13 13
     _setAppStateListener,

react/features/background/reducer.js → react/features/mobile/background/reducer.js View File

@@ -1,4 +1,4 @@
1
-import { ReducerRegistry } from '../base/redux';
1
+import { ReducerRegistry } from '../../base/redux';
2 2
 
3 3
 import {
4 4
     _SET_APP_STATE_LISTENER,

react/features/full-screen/index.js → react/features/mobile/full-screen/index.js View File


react/features/full-screen/middleware.js → react/features/mobile/full-screen/middleware.js View File

@@ -8,9 +8,9 @@ import {
8 8
     CONFERENCE_FAILED,
9 9
     CONFERENCE_LEFT,
10 10
     CONFERENCE_WILL_JOIN
11
-} from '../base/conference';
12
-import { Platform } from '../base/react';
13
-import { MiddlewareRegistry } from '../base/redux';
11
+} from '../../base/conference';
12
+import { Platform } from '../../base/react';
13
+import { MiddlewareRegistry } from '../../base/redux';
14 14
 
15 15
 /**
16 16
  * Middleware that captures conference actions and activates or deactivates the

react/features/wake-lock/index.js → react/features/mobile/wake-lock/index.js View File


react/features/wake-lock/middleware.js → react/features/mobile/wake-lock/middleware.js View File

@@ -4,8 +4,8 @@ import {
4 4
     CONFERENCE_FAILED,
5 5
     CONFERENCE_JOINED,
6 6
     CONFERENCE_LEFT
7
-} from '../base/conference';
8
-import { MiddlewareRegistry } from '../base/redux';
7
+} from '../../base/conference';
8
+import { MiddlewareRegistry } from '../../base/redux';
9 9
 
10 10
 /**
11 11
  * Middleware that captures conference actions and activates or deactivates the

Loading…
Cancel
Save