fix !send command message style

This commit is contained in:
Roman Volosovskyi 2016-12-15 11:52:41 +02:00
parent 63e352020d
commit 048ef0a4fe
1 changed files with 4 additions and 10 deletions

View File

@ -805,20 +805,14 @@ var send = {
preview: function (params, context) { preview: function (params, context) {
var amountStyle = { var amountStyle = {
fontSize: 36, fontSize: 36,
color: "#000000" color: "#000000",
height: 40
}; };
var isIos = context.platform == "ios";
if (isIos) {
amountStyle.height = 36;
} else {
amountStyle.lineHeight = 34;
}
var amount = status.components.view( var amount = status.components.view(
{ {
flexDirection: "row", flexDirection: "column",
alignItems: "flex-end" alignItems: "flex-end",
}, },
[status.components.text( [status.components.text(
{ {