Closed digi-chris closed 5 years ago
When creating a loader object, you can pass parameters through, including a message:
var options = { message : "This is the first message." }; loader.show(options);
However, when updating the message later with the loader already shown on screen, nothing happens:
options.message = "Message changed!"; loader.show(options);
This appears to happen because there is a typo in /src/android/progress-dialog.ts - _progressDialog.setMessage on line 26 is written as _progressDialog.setMesssage (three 's' characters).
Thank you @digi-chris long overdue - looks like 2 fixes had been posted for this: https://github.com/NathanWalker/nativescript-loading-indicator/pull/47
When creating a loader object, you can pass parameters through, including a message:
However, when updating the message later with the loader already shown on screen, nothing happens:
This appears to happen because there is a typo in /src/android/progress-dialog.ts - _progressDialog.setMessage on line 26 is written as _progressDialog.setMesssage (three 's' characters).