[fixes #2445] make phone suggestions not clickable

This commit is contained in:
Dmitry Novotochinov 2017-11-20 14:12:13 +03:00 committed by Jan Herich
parent 4ddbacd612
commit f07b5363af
1 changed files with 2 additions and 5 deletions

View File

@ -428,9 +428,7 @@ function phoneSuggestions(params, context) {
}
suggestions = ph.map(function (phone) {
return status.components.touchable(
{onPress: status.components.dispatch([status.events.SET_COMMAND_ARGUMENT, [0, phone.number]])},
status.components.view(suggestionContainerStyle,
return status.components.view(suggestionContainerStyle,
[status.components.view(suggestionSubContainerStyle,
[
status.components.text(
@ -441,8 +439,7 @@ function phoneSuggestions(params, context) {
{style: descriptionStyle},
phone.description
)
])])
);
])]);
});
var view = status.components.scrollView(