Browse Source

rn: start removing defaultURL

master
Saúl Ibarra Corretgé 6 years ago
parent
commit
7d8ea85ea0

+ 0
- 6
react/features/app/components/AbstractApp.js View File

14
  */
14
  */
15
 export type Props = {
15
 export type Props = {
16
 
16
 
17
-    /**
18
-     * The default URL {@code AbstractApp} is to open when not in any
19
-     * conference/room.
20
-     */
21
-    defaultURL: string,
22
-
23
     /**
17
     /**
24
      * XXX Refer to the implementation of loadURLObject: in
18
      * XXX Refer to the implementation of loadURLObject: in
25
      * ios/sdk/src/JitsiMeetView.m for further information.
19
      * ios/sdk/src/JitsiMeetView.m for further information.

+ 1
- 2
react/features/app/functions.native.js View File

2
 
2
 
3
 import { NativeModules } from 'react-native';
3
 import { NativeModules } from 'react-native';
4
 
4
 
5
-import { getAppProp } from '../base/app';
6
 import { toState } from '../base/redux';
5
 import { toState } from '../base/redux';
7
 import { getServerURL } from '../base/settings';
6
 import { getServerURL } from '../base/settings';
8
 
7
 
17
 export function getDefaultURL(stateful: Function | Object) {
16
 export function getDefaultURL(stateful: Function | Object) {
18
     const state = toState(stateful);
17
     const state = toState(stateful);
19
 
18
 
20
-    return getAppProp(state, 'defaultURL') || getServerURL(state);
19
+    return getServerURL(state);
21
 }
20
 }
22
 
21
 
23
 /**
22
 /**

Loading…
Cancel
Save