浏览代码

rn: start removing defaultURL

efficient_tiling
Saúl Ibarra Corretgé 6 年前
父节点
当前提交
7d8ea85ea0
共有 2 个文件被更改,包括 1 次插入8 次删除
  1. 0
    6
      react/features/app/components/AbstractApp.js
  2. 1
    2
      react/features/app/functions.native.js

+ 0
- 6
react/features/app/components/AbstractApp.js 查看文件

@@ -14,12 +14,6 @@ import { getDefaultURL } from '../functions';
14 14
  */
15 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 18
      * XXX Refer to the implementation of loadURLObject: in
25 19
      * ios/sdk/src/JitsiMeetView.m for further information.

+ 1
- 2
react/features/app/functions.native.js 查看文件

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

正在加载...
取消
保存