1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-31 10:58:43 +00:00

fix(core): rebase on main

[no changelog]
This commit is contained in:
obrusvit 2024-05-17 13:31:30 +02:00
parent 1409ed27df
commit 99e13fec02
6 changed files with 16 additions and 16 deletions

View File

@ -171,7 +171,11 @@ STATIC const mp_rom_map_elem_t mod_trezorui_Display_locals_dict_table[] = {
{MP_ROM_QSTR(MP_QSTR_FONT_NORMAL), MP_ROM_INT(FONT_NORMAL)},
{MP_ROM_QSTR(MP_QSTR_FONT_DEMIBOLD), MP_ROM_INT(FONT_DEMIBOLD)},
{MP_ROM_QSTR(MP_QSTR_FONT_MONO), MP_ROM_INT(FONT_MONO)},
#ifdef FONT_BOLD_UPPER
{MP_ROM_QSTR(MP_QSTR_FONT_BOLD_UPPER), MP_ROM_INT(FONT_BOLD_UPPER)},
#else
{MP_ROM_QSTR(MP_QSTR_FONT_BOLD_UPPER), MP_ROM_INT(FONT_BOLD)},
#endif
};
STATIC MP_DEFINE_CONST_DICT(mod_trezorui_Display_locals_dict,
mod_trezorui_Display_locals_dict_table);

View File

@ -1256,10 +1256,9 @@ pub enum TranslatedString {
instructions__continue_in_app = 861, // "Continue in the app"
words__cancel_and_exit = 862, // "Cancel and exit"
address__confirmed = 863, // "Receive address confirmed"
reset__title_shamir_backup = 864, // "Multi-share backup"
pin__cancel_description = 865, // "Continue without PIN"
pin__cancel_info = 866, // "Without a PIN, anyone can access this device."
pin__cancel_setup = 867, // "Cancel PIN setup"
pin__cancel_description = 864, // "Continue without PIN"
pin__cancel_info = 865, // "Without a PIN, anyone can access this device."
pin__cancel_setup = 866, // "Cancel PIN setup"
}
impl TranslatedString {
@ -2511,7 +2510,6 @@ impl TranslatedString {
Self::instructions__continue_in_app => "Continue in the app",
Self::words__cancel_and_exit => "Cancel and exit",
Self::address__confirmed => "Receive address confirmed",
Self::reset__title_shamir_backup => "Multi-share backup",
Self::pin__cancel_description => "Continue without PIN",
Self::pin__cancel_info => "Without a PIN, anyone can access this device.",
Self::pin__cancel_setup => "Cancel PIN setup",
@ -3767,7 +3765,6 @@ impl TranslatedString {
Qstr::MP_QSTR_instructions__continue_in_app => Some(Self::instructions__continue_in_app),
Qstr::MP_QSTR_words__cancel_and_exit => Some(Self::words__cancel_and_exit),
Qstr::MP_QSTR_address__confirmed => Some(Self::address__confirmed),
Qstr::MP_QSTR_reset__title_shamir_backup => Some(Self::reset__title_shamir_backup),
Qstr::MP_QSTR_pin__cancel_description => Some(Self::pin__cancel_description),
Qstr::MP_QSTR_pin__cancel_info => Some(Self::pin__cancel_info),
Qstr::MP_QSTR_pin__cancel_setup => Some(Self::pin__cancel_setup),

View File

@ -103,7 +103,7 @@ impl Shape<'_> for CornerHighlight {
let circle_center = self.pos + Offset::uniform(self.r_outer).rotate(self.corner);
let circle_visible_part = Rect::snap(self.pos_rect, Offset::uniform(self.r_outer), align);
in_clip(canvas, circle_visible_part, &|can| {
can.fill_circle(circle_center, self.r_outer, self.color);
can.fill_circle(circle_center, self.r_outer, self.color, self.alpha);
});
// rectangles (rounded) tailing from a corner
@ -146,7 +146,7 @@ impl Shape<'_> for CornerHighlight {
self.pos + Offset::uniform(self.thickness + self.r_inner).rotate(self.corner);
in_clip(canvas, rect_outer_fill, &|can| {
can.fill_rect(rect_outer_fill, self.color, self.alpha);
can.fill_circle(circle_cover_center, self.r_inner, self.bg_color);
can.fill_circle(circle_cover_center, self.r_inner, self.bg_color, self.alpha);
});
}

View File

@ -300,7 +300,7 @@ async def slip39_advanced_prompt_group_threshold(num_of_groups: int) -> int:
)
async def show_warning_backup(slip39: bool) -> None:
async def show_warning_backup() -> None:
result = await interact(
RustLayout(
trezorui2.show_warning(

View File

@ -863,8 +863,7 @@
"861": "instructions__continue_in_app",
"862": "words__cancel_and_exit",
"863": "address__confirmed",
"864": "reset__title_shamir_backup",
"865": "pin__cancel_description",
"866": "pin__cancel_info",
"867": "pin__cancel_setup"
"864": "pin__cancel_description",
"865": "pin__cancel_info",
"866": "pin__cancel_setup"
}

View File

@ -1,8 +1,8 @@
{
"current": {
"merkle_root": "9c620dab3212f47d952020e2badc61a9443778fbca180208db622f3d0ebcbe5c",
"datetime": "2024-05-17T10:46:08.576451",
"commit": "cce30d1364fb62e3ed51509fefe7d48c86b45a5c"
"merkle_root": "928438526b993d433d52359d86099848d570c13fbe6aac72a2f5a29a4e8e94c5",
"datetime": "2024-05-17T10:55:04.124405",
"commit": "1409ed27df07827a2a3e3756420db1b41fe108e5"
},
"history": [
{