From ebf7c38ffc6a453d8a44964203cbe50fa79b69d1 Mon Sep 17 00:00:00 2001 From: obrusvit Date: Wed, 4 Dec 2024 00:51:37 +0100 Subject: [PATCH] fixup! refactor(core): mercury confirm_summary --- core/embed/rust/src/ui/model_mercury/layout.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/core/embed/rust/src/ui/model_mercury/layout.rs b/core/embed/rust/src/ui/model_mercury/layout.rs index 20f85377f0..376b7c80c1 100644 --- a/core/embed/rust/src/ui/model_mercury/layout.rs +++ b/core/embed/rust/src/ui/model_mercury/layout.rs @@ -713,8 +713,13 @@ extern "C" fn new_confirm_summary(n_args: usize, args: *const Obj, kwargs: *mut None }; - let flow = - flow::new_confirm_summary(summary_params, account_params, extra_params, extra_title, verb_cancel)?; + let flow = flow::new_confirm_summary( + summary_params, + account_params, + extra_params, + extra_title, + verb_cancel, + )?; Ok(LayoutObj::new_root(flow)?.into()) }; unsafe { util::try_with_args_and_kwargs(n_args, args, kwargs, block) }