mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 03:26:31 +00:00
[fixes #2445] make phone suggestions not clickable
This commit is contained in:
parent
4ddbacd612
commit
f07b5363af
@ -428,9 +428,7 @@ function phoneSuggestions(params, context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
suggestions = ph.map(function (phone) {
|
suggestions = ph.map(function (phone) {
|
||||||
return status.components.touchable(
|
return status.components.view(suggestionContainerStyle,
|
||||||
{onPress: status.components.dispatch([status.events.SET_COMMAND_ARGUMENT, [0, phone.number]])},
|
|
||||||
status.components.view(suggestionContainerStyle,
|
|
||||||
[status.components.view(suggestionSubContainerStyle,
|
[status.components.view(suggestionSubContainerStyle,
|
||||||
[
|
[
|
||||||
status.components.text(
|
status.components.text(
|
||||||
@ -441,8 +439,7 @@ function phoneSuggestions(params, context) {
|
|||||||
{style: descriptionStyle},
|
{style: descriptionStyle},
|
||||||
phone.description
|
phone.description
|
||||||
)
|
)
|
||||||
])])
|
])]);
|
||||||
);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var view = status.components.scrollView(
|
var view = status.components.scrollView(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user