diff --git a/apps/presentationeditor/mobile/src/controller/settings/PresentationInfo.jsx b/apps/presentationeditor/mobile/src/controller/settings/PresentationInfo.jsx index 57d9a575eb..5470245be5 100644 --- a/apps/presentationeditor/mobile/src/controller/settings/PresentationInfo.jsx +++ b/apps/presentationeditor/mobile/src/controller/settings/PresentationInfo.jsx @@ -26,10 +26,17 @@ class PresentationInfoController extends Component { getAppProps() { const api = Common.EditorApi.get(); const appProps = api.asc_getAppProps(); + let appName = ""; if (appProps) { - return `${!appProps.asc_getApplication() ? '' : appProps.asc_getApplication() + ' ' + appProps.asc_getAppVersion()}`; + appName = appProps.asc_getApplication(); + + if (appName && appProps.asc_getAppVersion()) { + appName += ` ${appProps.asc_getAppVersion()}`; + } } + + return appName; } getModified() {