chore(core/rust/ui): workaround for "re-enter wipe code"

[no changelog]
pull/2575/head
matejcik 2 years ago committed by matejcik
parent 4200539546
commit e80712f4d9

@ -163,7 +163,8 @@ where
.inset(borders_no_top)
.split_top(theme::borders().top + HEADER_HEIGHT + HEADER_PADDING_BOTTOM);
let prompt = header.inset(HEADER_PADDING);
let major_area = prompt.translate(Self::MAJOR_OFF);
// the inset -3 is a workaround for long text in "re-enter wipe code"
let major_area = prompt.translate(Self::MAJOR_OFF).inset(Insets::right(-3));
let minor_area = prompt.translate(Self::MINOR_OFF);
// Control buttons.

Loading…
Cancel
Save