rn: start removing defaultURL
This commit is contained in:
parent
e4c3e15791
commit
7d8ea85ea0
|
@ -14,12 +14,6 @@ import { getDefaultURL } from '../functions';
|
|||
*/
|
||||
export type Props = {
|
||||
|
||||
/**
|
||||
* The default URL {@code AbstractApp} is to open when not in any
|
||||
* conference/room.
|
||||
*/
|
||||
defaultURL: string,
|
||||
|
||||
/**
|
||||
* XXX Refer to the implementation of loadURLObject: in
|
||||
* ios/sdk/src/JitsiMeetView.m for further information.
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
import { NativeModules } from 'react-native';
|
||||
|
||||
import { getAppProp } from '../base/app';
|
||||
import { toState } from '../base/redux';
|
||||
import { getServerURL } from '../base/settings';
|
||||
|
||||
|
@ -17,7 +16,7 @@ import { getServerURL } from '../base/settings';
|
|||
export function getDefaultURL(stateful: Function | Object) {
|
||||
const state = toState(stateful);
|
||||
|
||||
return getAppProp(state, 'defaultURL') || getServerURL(state);
|
||||
return getServerURL(state);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue