Skip to content

Commit 74aa1e3

Browse files
committed
Remove reference to SoftButtonManager's removed update method
1 parent c00366d commit 74aa1e3

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)