1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

omni: add space before symbol

This commit is contained in:
matejcik 2019-04-09 14:26:55 +02:00
parent fa7095add9
commit da95537e34

View File

@ -360,19 +360,19 @@ void layoutConfirmOmni(const uint8_t *data, uint32_t size) {
if (tx_type == 0x00000000 && size == 20) { // OMNI simple send if (tx_type == 0x00000000 && size == 20) { // OMNI simple send
desc = _("Simple send of "); desc = _("Simple send of ");
REVERSE32(*(const uint32_t *)(data + 8), currency); REVERSE32(*(const uint32_t *)(data + 8), currency);
const char *suffix = "UNKN"; const char *suffix = " UNKN";
switch (currency) { switch (currency) {
case 1: case 1:
suffix = "OMNI"; suffix = " OMNI";
break; break;
case 2: case 2:
suffix = "tOMNI"; suffix = " tOMNI";
break; break;
case 3: case 3:
suffix = "MAID"; suffix = " MAID";
break; break;
case 31: case 31:
suffix = "USDT"; suffix = " USDT";
break; break;
} }
uint64_t amount_be, amount; uint64_t amount_be, amount;