Skip to content

Commit bd55a73

Browse files
committed
unused
1 parent 4ff2f3d commit bd55a73

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

services/static-webserver/client/source/class/osparc/Application.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -222,18 +222,13 @@ qx.Class.define("osparc.Application", {
222222
__setDeviceSpecificIcons: function() {
223223
const isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
224224
const isAndroid = /android/i.test(navigator.userAgent);
225-
const isWindows = /windows/i.test(navigator.userAgent);
226-
// const productColor = qx.theme.manager.Color.getInstance().resolve("product-color");
227-
// const backgroundColor = qx.theme.manager.Color.getInstance().resolve("primary-background-color");
228225
// default icons
229226
this.__updateMetaTags();
230227
this.__setDefaultIcons()
231228
if (isIOS) {
232229
this.__setIOSpIcons();
233230
} else if (isAndroid) {
234231
this.__setGoogleIcons();
235-
} else if (isWindows) {
236-
// this.__updateBrowserConfig(this.__getProductMetaData().productColor);
237232
}
238233
},
239234

@@ -246,16 +241,14 @@ qx.Class.define("osparc.Application", {
246241
}
247242

248243
const productColor = qx.theme.manager.Color.getInstance().resolve("product-color");
249-
const backgroundColor = qx.theme.manager.Color.getInstance().resolve("primary-background-color");
250244
return {
251245
productName: productName,
252246
productColor: productColor,
253-
backgroundColor: backgroundColor
254247
}
255248
},
256249

257250
__updateMetaTags: function() {
258-
// check device type and only set the icons for the divice type
251+
// check device type and only set the icons for the device type
259252
// i.e iOS, Android or windows etc
260253
const themeColorMeta = document.querySelector("meta[name='theme-color']");
261254
const tileColorMeta = document.querySelector("meta[name='msapplication-TileColor']");

0 commit comments

Comments
 (0)