I’m trying to change the parameters of the dialog login but can’t get it working. Here’s an example:
var loginDialog = app.dialog.login('Sign in with your email and password.', '', function() {
});
loginDialog.params.buttons[1].text = 'Sign In';
The text for the OK button does not change. Is there a method I need to call to update the dialog?
Thanks!