mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Message will be set only if you do not have actions since message and actions are mutually exclusive.
This commit is contained in:
@ -242,7 +242,9 @@ export function action(arg: any): Promise<string> {
|
||||
|
||||
if (title) {
|
||||
alert.setTitle(title);
|
||||
alert.setMessage(message);
|
||||
if (!options.actions) {
|
||||
alert.setMessage(message);
|
||||
}
|
||||
}
|
||||
else {
|
||||
alert.setTitle(message);
|
||||
|
Reference in New Issue
Block a user