@@ -222,18 +222,13 @@ qx.Class.define("osparc.Application", {
222222 __setDeviceSpecificIcons : function ( ) {
223223 const isIOS = / i P a d | i P h o n e | i P o d / . test ( navigator . userAgent ) && ! window . MSStream ;
224224 const isAndroid = / a n d r o i d / i. test ( navigator . userAgent ) ;
225- const isWindows = / w i n d o w s / 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