From e9f0b21186622bf69afc9dce3008466b0483c6d4 Mon Sep 17 00:00:00 2001 From: maxkadushkin Date: Fri, 2 Feb 2024 14:40:04 +0300 Subject: [PATCH] [mobile] changed config option name --- apps/documenteditor/mobile/src/page/main.jsx | 2 +- apps/presentationeditor/mobile/src/page/main.jsx | 2 +- apps/spreadsheeteditor/mobile/src/page/main.jsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/documenteditor/mobile/src/page/main.jsx b/apps/documenteditor/mobile/src/page/main.jsx index 918ed15053..e4566a083a 100644 --- a/apps/documenteditor/mobile/src/page/main.jsx +++ b/apps/documenteditor/mobile/src/page/main.jsx @@ -59,7 +59,7 @@ const MainPage = inject('storeDocumentInfo', 'users', 'storeAppOptions', 'storeV isBranding = true; if(!appOptions.isDisconnected && config?.customization) { - isCustomization = !!(config.customization.headerLogoHidden || config.customization.loaderName || config.customization.loaderLogo); + isCustomization = !!(config.customization.mobileHeaderLogoHidden || config.customization.loaderName || config.customization.loaderLogo); isBranding = appOptions.canBranding || appOptions.canBrandingExt; isHideLogo = isCustomization && isBranding; } diff --git a/apps/presentationeditor/mobile/src/page/main.jsx b/apps/presentationeditor/mobile/src/page/main.jsx index ace7cd2591..751bcf975a 100644 --- a/apps/presentationeditor/mobile/src/page/main.jsx +++ b/apps/presentationeditor/mobile/src/page/main.jsx @@ -130,7 +130,7 @@ class MainPage extends Component { isBranding = true; if (!appOptions.isDisconnected && config?.customization) { - isCustomization = !!(config.customization.headerLogoHidden || config.customization.loaderName || config.customization.loaderLogo); + isCustomization = !!(config.customization.mobileHeaderLogoHidden || config.customization.loaderName || config.customization.loaderLogo); isBranding = appOptions.canBranding || appOptions.canBrandingExt; isHideLogo = isCustomization && isBranding; } diff --git a/apps/spreadsheeteditor/mobile/src/page/main.jsx b/apps/spreadsheeteditor/mobile/src/page/main.jsx index a163c1b750..6b2e99a634 100644 --- a/apps/spreadsheeteditor/mobile/src/page/main.jsx +++ b/apps/spreadsheeteditor/mobile/src/page/main.jsx @@ -121,7 +121,7 @@ class MainPage extends Component { isBranding = true; if (!appOptions.isDisconnected && config?.customization) { - isCustomization = !!(config.customization.headerLogoHidden || config.customization.loaderName || config.customization.loaderLogo); + isCustomization = !!(config.customization.mobileHeaderLogoHidden || config.customization.loaderName || config.customization.loaderLogo); isBranding = appOptions.canBranding || appOptions.canBrandingExt; isHideLogo = isCustomization && isBranding; }