Update Buttons.js

This commit is contained in:
Rajeh Taher
2022-10-22 22:01:37 +03:00
committed by GitHub
parent 60fbd03256
commit 23d71e9f3b

View File

@@ -78,7 +78,7 @@ class Buttons {
return buttons.map((button, index) => {
if (button.url && button.number && button.id) throw 'Only pick one of the following (url/number/id)';
if (button.number) {
throw 'number buttons are not supported yet';
throw 'Not supported, URL and Call buttons are not supported on IOS';
/* return {
index,
callButton: {
@@ -87,7 +87,7 @@ class Buttons {
}
}; */
} else if (button.url) {
throw 'URL buttons are not supported yet';
throw 'Not supported, URL and Call buttons are not supported on IOS';
/* return {
index,
urlButton: {