mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 12:00:59 +00:00
revert non-swiping dialogs
This commit is contained in:
parent
24660f3e2c
commit
0ee02eb09a
@ -112,7 +112,7 @@ void layoutConfirmOutput(const CoinType *coin, const TxOutputType *out)
|
||||
static char first_half[17 + 1];
|
||||
strlcpy(first_half, out->address, sizeof(first_half));
|
||||
const char *str_out = str_amount(out->amount, coin->has_coin_shortcut ? coin->coin_shortcut : NULL, buf_out, sizeof(buf_out));
|
||||
layoutDialog(DIALOG_ICON_QUESTION,
|
||||
layoutDialogSwipe(DIALOG_ICON_QUESTION,
|
||||
"Cancel",
|
||||
"Confirm",
|
||||
NULL,
|
||||
@ -129,7 +129,7 @@ void layoutConfirmTx(const CoinType *coin, uint64_t amount_out, uint64_t amount_
|
||||
{
|
||||
const char *str_out = str_amount(amount_out, coin->has_coin_shortcut ? coin->coin_shortcut : NULL, buf_out, sizeof(buf_out));
|
||||
const char *str_fee = str_amount(amount_fee, coin->has_coin_shortcut ? coin->coin_shortcut : NULL, buf_fee, sizeof(buf_fee));
|
||||
layoutDialog(DIALOG_ICON_QUESTION,
|
||||
layoutDialogSwipe(DIALOG_ICON_QUESTION,
|
||||
"Cancel",
|
||||
"Confirm",
|
||||
NULL,
|
||||
@ -146,7 +146,7 @@ void layoutFeeOverThreshold(const CoinType *coin, uint64_t fee, uint32_t kb)
|
||||
{
|
||||
(void)kb;
|
||||
const char *str_out = str_amount(fee, coin->has_coin_shortcut ? coin->coin_shortcut : NULL, buf_out, sizeof(buf_out));
|
||||
layoutDialog(DIALOG_ICON_QUESTION,
|
||||
layoutDialogSwipe(DIALOG_ICON_QUESTION,
|
||||
"Cancel",
|
||||
"Confirm",
|
||||
NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user