Skip to content

Commit

Permalink
fix(core): rebase on main
Browse files Browse the repository at this point in the history
[no changelog]
  • Loading branch information
obrusvit committed May 17, 2024
1 parent 1409ed2 commit 99e13fe
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
4 changes: 4 additions & 0 deletions core/embed/extmod/modtrezorui/modtrezorui-display.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions core/embed/rust/src/ui/shape/corner_highlight.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
});
}

Expand Down
2 changes: 1 addition & 1 deletion core/src/trezor/ui/layouts/mercury/reset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
7 changes: 3 additions & 4 deletions core/translations/order.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
6 changes: 3 additions & 3 deletions core/translations/signatures.json
Original file line number Diff line number Diff line change
@@ -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": [
{
Expand Down

0 comments on commit 99e13fe

Please sign in to comment.