1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-02 10:51:06 +00:00

fix(core): fix flow_prompt_backup mock

[no changelog]
This commit is contained in:
M1nd3r 2024-10-31 14:21:48 +01:00 committed by Petr Sedláček
parent d38c2e1790
commit 82a202f6a8
2 changed files with 4 additions and 4 deletions

View File

@ -1597,7 +1597,7 @@ pub static mp_module_trezorui2: Module = obj_module! {
/// iterable must be of exact size. Returns index in range `0..3`."""
Qstr::MP_QSTR_select_word => obj_fn_kw!(0, new_select_word).as_obj(),
/// def flow_prompt_backup() -> LayoutObj[UiResult]
/// def flow_prompt_backup() -> LayoutObj[UiResult]:
/// """Prompt a user to create backup with an option to skip."""
Qstr::MP_QSTR_flow_prompt_backup => obj_fn_kw!(0, flow::prompt_backup::new_prompt_backup).as_obj(),

View File

@ -397,7 +397,7 @@ def select_word(
# rust/src/ui/model_mercury/layout.rs
def flow_prompt_backup() -> LayoutObj[UiResult]
def flow_prompt_backup() -> LayoutObj[UiResult]:
"""Prompt a user to create backup with an option to skip."""