Skip to content

Commit 87fc444

Browse files
crokitarenonick87
andauthored
Update lib/js/src/manager/screen/_SoftButtonManagerBase.js
Co-authored-by: renonick87 <renonick87@gmail.com>
1 parent 17a07f8 commit 87fc444

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/js/src/manager/screen/_SoftButtonManagerBase.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)