mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-16 11:44:26 +00:00
console: add preview for phone command (#1451)
This commit is contained in:
parent
f5348df929
commit
2adc02849f
@ -467,7 +467,23 @@ var phoneConfig = {
|
|||||||
type: status.types.PHONE,
|
type: status.types.PHONE,
|
||||||
suggestions: phoneSuggestions,
|
suggestions: phoneSuggestions,
|
||||||
placeholder: I18n.t('phone_placeholder')
|
placeholder: I18n.t('phone_placeholder')
|
||||||
}]
|
}],
|
||||||
|
preview: function (params) {
|
||||||
|
return {
|
||||||
|
markup: status.components.text(
|
||||||
|
{},
|
||||||
|
params.phone
|
||||||
|
)
|
||||||
|
};
|
||||||
|
},
|
||||||
|
shortPreview: function (params) {
|
||||||
|
return {
|
||||||
|
markup: status.components.text(
|
||||||
|
{},
|
||||||
|
params.phone
|
||||||
|
)
|
||||||
|
};
|
||||||
|
}
|
||||||
};
|
};
|
||||||
status.response(phoneConfig);
|
status.response(phoneConfig);
|
||||||
status.command(phoneConfig);
|
status.command(phoneConfig);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user