Skip to content

Commit

Permalink
[mobile] changed config option name
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkadushkin committed Feb 2, 2024
1 parent 4420ff9 commit e9f0b21
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/documenteditor/mobile/src/page/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/presentationeditor/mobile/src/page/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/spreadsheeteditor/mobile/src/page/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e9f0b21

Please sign in to comment.