From 048ef0a4febf5c436f78e947da8658c15e6aa211 Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Thu, 15 Dec 2016 11:52:41 +0200 Subject: [PATCH] fix !send command message style --- resources/commands.js | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/resources/commands.js b/resources/commands.js index 6bbed6c4af..d549ea2ac9 100644 --- a/resources/commands.js +++ b/resources/commands.js @@ -805,20 +805,14 @@ var send = { preview: function (params, context) { var amountStyle = { 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( { - flexDirection: "row", - alignItems: "flex-end" + flexDirection: "column", + alignItems: "flex-end", }, [status.components.text( {