File tree Expand file tree Collapse file tree
lib/js/src/manager/screen Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,11 +60,11 @@ class _SoftButtonManagerBase extends _SubManagerBase {
6060 this . _currentMainField1 = null ;
6161 this . _currentHmiLevel = null ;
6262 this . _batchUpdates = false ; // whether to wait on sending the updates
63- this . _displayCapabilities = null ;
63+ let displayCapabilities = null ;
6464 if ( lifecycleManager . getSystemCapabilityManager ( ) !== null ) {
65- this . _displayCapabilities = lifecycleManager . getSystemCapabilityManager ( ) . getDisplayCapabilities ( ) ;
65+ displayCapabilities = lifecycleManager . getSystemCapabilityManager ( ) . getDisplayCapabilities ( ) ;
6666 }
67- this . _isDynamicGraphicSupported = ( this . _displayCapabilities !== null && this . _displayCapabilities . getGraphicSupported ( ) !== null ) ? this . _displayCapabilities . getGraphicSupported ( ) : true ;
67+ this . _isDynamicGraphicSupported = ( displayCapabilities !== null && displayCapabilities . getGraphicSupported ( ) !== null ) ? displayCapabilities . getGraphicSupported ( ) : true ;
6868
6969 this . _updateListener = ( ) => {
7070 this . _transitionSoftButton ( ) ;
You can’t perform that action at this time.
0 commit comments