mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 12:57:42 +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,8 +242,10 @@ export function action(arg: any): Promise<string> {
|
|||||||
|
|
||||||
if (title) {
|
if (title) {
|
||||||
alert.setTitle(title);
|
alert.setTitle(title);
|
||||||
|
if (!options.actions) {
|
||||||
alert.setMessage(message);
|
alert.setMessage(message);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
alert.setTitle(message);
|
alert.setTitle(message);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user