diff --git a/apps/documenteditor/mobile/src/store/textSettings.js b/apps/documenteditor/mobile/src/store/textSettings.js index c948bca09..e6a64506c 100644 --- a/apps/documenteditor/mobile/src/store/textSettings.js +++ b/apps/documenteditor/mobile/src/store/textSettings.js @@ -115,14 +115,6 @@ export class storeTextSettings { const applicationPixelRatio = Common.Utils.applicationPixelRatio(); - if (typeof window['AscDesktopEditor'] === 'object') { - this.thumbs[0].path = window['AscDesktopEditor'].getFontsSprite(''); - this.thumbs[1].path = window['AscDesktopEditor'].getFontsSprite('@1.25x'); - this.thumbs[2].path = window['AscDesktopEditor'].getFontsSprite('@1.5x'); - this.thumbs[3].path = window['AscDesktopEditor'].getFontsSprite('@1.75x'); - this.thumbs[4].path = window['AscDesktopEditor'].getFontsSprite('@2x'); - } - let bestDistance = Math.abs(applicationPixelRatio - this.thumbs[0].ratio); let currentDistance = 0; diff --git a/apps/presentationeditor/mobile/src/store/textSettings.js b/apps/presentationeditor/mobile/src/store/textSettings.js index 81a5e2edb..e82800153 100644 --- a/apps/presentationeditor/mobile/src/store/textSettings.js +++ b/apps/presentationeditor/mobile/src/store/textSettings.js @@ -116,14 +116,6 @@ export class storeTextSettings { const applicationPixelRatio = Common.Utils.applicationPixelRatio(); - if (typeof window['AscDesktopEditor'] === 'object') { - this.thumbs[0].path = window['AscDesktopEditor'].getFontsSprite(''); - this.thumbs[1].path = window['AscDesktopEditor'].getFontsSprite('@1.25x'); - this.thumbs[2].path = window['AscDesktopEditor'].getFontsSprite('@1.5x'); - this.thumbs[3].path = window['AscDesktopEditor'].getFontsSprite('@1.75x'); - this.thumbs[4].path = window['AscDesktopEditor'].getFontsSprite('@2x'); - } - let bestDistance = Math.abs(applicationPixelRatio - this.thumbs[0].ratio); let currentDistance = 0; diff --git a/apps/spreadsheeteditor/mobile/src/store/textSettings.js b/apps/spreadsheeteditor/mobile/src/store/textSettings.js index 0cf134fdd..fb43012ce 100644 --- a/apps/spreadsheeteditor/mobile/src/store/textSettings.js +++ b/apps/spreadsheeteditor/mobile/src/store/textSettings.js @@ -119,14 +119,6 @@ export class storeTextSettings { const applicationPixelRatio = Common.Utils.applicationPixelRatio(); - if (typeof window['AscDesktopEditor'] === 'object') { - this.thumbs[0].path = window['AscDesktopEditor'].getFontsSprite(''); - this.thumbs[1].path = window['AscDesktopEditor'].getFontsSprite('@1.25x'); - this.thumbs[2].path = window['AscDesktopEditor'].getFontsSprite('@1.5x'); - this.thumbs[3].path = window['AscDesktopEditor'].getFontsSprite('@1.75x'); - this.thumbs[4].path = window['AscDesktopEditor'].getFontsSprite('@2x'); - } - let bestDistance = Math.abs(applicationPixelRatio - this.thumbs[0].ratio); let currentDistance = 0;