Skip to content

Commit ae3a998

Browse files
authored
Merge pull request #462 from smartdevicelink/bugfix/remove-softbutton-manager-update
Remove reference to SoftButtonManager's removed update method
2 parents cee6eb4 + 74aa1e3 commit ae3a998

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/js/src/manager/screen/_ScreenManagerBase.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -545,11 +545,10 @@ class _ScreenManagerBase extends _SubManagerBase {
545545
async commit () {
546546
this._softButtonManager.setBatchUpdates(false);
547547
this._textAndGraphicManager.setBatchUpdates(false);
548-
// order matters!
549-
const success1 = await this._softButtonManager.update();
550-
const success2 = await this._textAndGraphicManager.update();
551548

552-
return success1 && success2;
549+
const success = await this._textAndGraphicManager.update();
550+
551+
return success;
553552
}
554553

555554
/**

0 commit comments

Comments
 (0)