fix(deep-linking) drop broken an unused setting
The showImage setting has been broken for about 2 years since the asset is not there. Fixes: https://github.com/jitsi/jitsi-meet/issues/5409 Ref: https://community.jitsi.org/t/error-nginx-usr-share-jitsi-meet-images-deep-linking-image-png-failed/120418
This commit is contained in:
parent
6048279eb2
commit
817a05cf7b
|
@ -1083,9 +1083,6 @@ var config = {
|
||||||
// // whether to hide the logo on the deep linking pages.
|
// // whether to hide the logo on the deep linking pages.
|
||||||
// hideLogo: false,
|
// hideLogo: false,
|
||||||
|
|
||||||
// // whether to show deeplinking image.
|
|
||||||
// showImage: false,
|
|
||||||
|
|
||||||
// // The ios deeplinking config.
|
// // The ios deeplinking config.
|
||||||
// ios: {
|
// ios: {
|
||||||
// appName: 'Jitsi Meet',
|
// appName: 'Jitsi Meet',
|
||||||
|
|
|
@ -195,8 +195,6 @@ var interfaceConfig = {
|
||||||
*/
|
*/
|
||||||
// MOBILE_DOWNLOAD_LINK_ANDROID: 'https://play.google.com/store/apps/details?id=org.jitsi.meet',
|
// MOBILE_DOWNLOAD_LINK_ANDROID: 'https://play.google.com/store/apps/details?id=org.jitsi.meet',
|
||||||
|
|
||||||
// SHOW_DEEP_LINKING_IMAGE: false,
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specify mobile app scheme for opening the app from the mobile browser.
|
* Specify mobile app scheme for opening the app from the mobile browser.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -115,7 +115,6 @@ export interface IDeeplinkingConfig {
|
||||||
disabled: boolean;
|
disabled: boolean;
|
||||||
hideLogo: boolean;
|
hideLogo: boolean;
|
||||||
ios?: IDeeplinkingMobileConfig;
|
ios?: IDeeplinkingMobileConfig;
|
||||||
showImage: boolean;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IConfig {
|
export interface IConfig {
|
||||||
|
|
|
@ -82,7 +82,6 @@ export default [
|
||||||
'debug',
|
'debug',
|
||||||
'debugAudioLevels',
|
'debugAudioLevels',
|
||||||
'deeplinking.disabled',
|
'deeplinking.disabled',
|
||||||
'deeplinking.showImage',
|
|
||||||
'defaultLocalDisplayName',
|
'defaultLocalDisplayName',
|
||||||
'defaultRemoteDisplayName',
|
'defaultRemoteDisplayName',
|
||||||
'deploymentUrls',
|
'deploymentUrls',
|
||||||
|
|
|
@ -44,7 +44,6 @@ export default [
|
||||||
'SETTINGS_SECTIONS',
|
'SETTINGS_SECTIONS',
|
||||||
'SHARING_FEATURES',
|
'SHARING_FEATURES',
|
||||||
'SHOW_CHROME_EXTENSION_BANNER',
|
'SHOW_CHROME_EXTENSION_BANNER',
|
||||||
'SHOW_DEEP_LINKING_IMAGE',
|
|
||||||
'SHOW_POWERED_BY',
|
'SHOW_POWERED_BY',
|
||||||
'SUPPORT_URL',
|
'SUPPORT_URL',
|
||||||
'TILE_VIEW_MAX_COLUMNS',
|
'TILE_VIEW_MAX_COLUMNS',
|
||||||
|
|
|
@ -310,7 +310,6 @@ function _translateInterfaceConfig(oldValue: IConfig) {
|
||||||
desktop: {} as IDeeplinkingPlatformConfig,
|
desktop: {} as IDeeplinkingPlatformConfig,
|
||||||
hideLogo: false,
|
hideLogo: false,
|
||||||
disabled,
|
disabled,
|
||||||
showImage: false,
|
|
||||||
android: {} as IDeeplinkingMobileConfig,
|
android: {} as IDeeplinkingMobileConfig,
|
||||||
ios: {} as IDeeplinkingMobileConfig
|
ios: {} as IDeeplinkingMobileConfig
|
||||||
};
|
};
|
||||||
|
@ -330,7 +329,6 @@ function _translateInterfaceConfig(oldValue: IConfig) {
|
||||||
}
|
}
|
||||||
|
|
||||||
deeplinking.hideLogo = Boolean(interfaceConfig.HIDE_DEEP_LINKING_LOGO);
|
deeplinking.hideLogo = Boolean(interfaceConfig.HIDE_DEEP_LINKING_LOGO);
|
||||||
deeplinking.showImage = interfaceConfig.SHOW_DEEP_LINKING_IMAGE;
|
|
||||||
deeplinking.android = {
|
deeplinking.android = {
|
||||||
appName: interfaceConfig.NATIVE_APP_NAME,
|
appName: interfaceConfig.NATIVE_APP_NAME,
|
||||||
appScheme: interfaceConfig.APP_SCHEME,
|
appScheme: interfaceConfig.APP_SCHEME,
|
||||||
|
|
|
@ -105,7 +105,7 @@ class DeepLinkingMobilePage extends Component<Props> {
|
||||||
*/
|
*/
|
||||||
render() {
|
render() {
|
||||||
const {
|
const {
|
||||||
_deeplinkingCfg: { hideLogo, showImage },
|
_deeplinkingCfg: { hideLogo },
|
||||||
_mobileConfig: { downloadLink, appName },
|
_mobileConfig: { downloadLink, appName },
|
||||||
_room,
|
_room,
|
||||||
t,
|
t,
|
||||||
|
@ -145,14 +145,6 @@ class DeepLinkingMobilePage extends Component<Props> {
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
<div className = { `${_SNS}__body` }>
|
<div className = { `${_SNS}__body` }>
|
||||||
{
|
|
||||||
showImage
|
|
||||||
? <img
|
|
||||||
alt = { t('welcomepage.logo.logoDeepLinking') }
|
|
||||||
className = 'image'
|
|
||||||
src = 'images/deep-linking-image.png' />
|
|
||||||
: null
|
|
||||||
}
|
|
||||||
<p className = { `${_SNS}__text` }>
|
<p className = { `${_SNS}__text` }>
|
||||||
{ t(`${_TNS}.appNotInstalled`, { app: appName }) }
|
{ t(`${_TNS}.appNotInstalled`, { app: appName }) }
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue