We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3b44247 + 7650635 commit 5f780b7Copy full SHA for 5f780b7
lib/js/src/manager/screen/utils/_PresentAlertOperation.js
@@ -304,7 +304,7 @@ class _PresentAlertOperation extends _Task {
304
305
if (this._alertView.getSoftButtons() !== null) {
306
const softButtons = [];
307
- for (let index = 0; index < this._alertView.getSoftButtons().length; index++) {
+ for (let index = 0; index < this._getSoftButtonCount(); index++) {
308
softButtons.push(this._alertView.getSoftButtons()[index].getCurrentStateSoftButton());
309
}
310
alert.setSoftButtons(softButtons);
0 commit comments