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.
1 parent 001fbef commit 7650635Copy full SHA for 7650635
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