fix !send command message style
This commit is contained in:
parent
63e352020d
commit
048ef0a4fe
|
@ -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(
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue