mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-06-24 17:08:46 +00:00
fixup! feat(core/ui): layouts for device pairing
This commit is contained in:
parent
0fe4ec5c31
commit
9a11cb5a1d
@ -875,12 +875,12 @@ impl FirmwareUI for UIBolt {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn show_pairing_device_name(
|
fn show_pairing_device_name(
|
||||||
device_name: TString<'static>,
|
_device_name: TString<'static>,
|
||||||
) -> Result<impl LayoutMaybeTrace, Error> {
|
) -> Result<impl LayoutMaybeTrace, Error> {
|
||||||
Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError(c"show_pairing_device_name not supported"))
|
Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError(c"show_pairing_device_name not supported"))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn show_pairing_code(code: TString<'static>) -> Result<impl LayoutMaybeTrace, Error> {
|
fn show_pairing_code(_code: TString<'static>) -> Result<impl LayoutMaybeTrace, Error> {
|
||||||
Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError(c"show_pairing_code not supported"))
|
Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError(c"show_pairing_code not supported"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1041,12 +1041,12 @@ impl FirmwareUI for UICaesar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn show_pairing_device_name(
|
fn show_pairing_device_name(
|
||||||
device_name: TString<'static>,
|
_device_name: TString<'static>,
|
||||||
) -> Result<impl LayoutMaybeTrace, Error> {
|
) -> Result<impl LayoutMaybeTrace, Error> {
|
||||||
Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError(c"show_pairing_device_name not supported"))
|
Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError(c"show_pairing_device_name not supported"))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn show_pairing_code(code: TString<'static>) -> Result<impl LayoutMaybeTrace, Error> {
|
fn show_pairing_code(_code: TString<'static>) -> Result<impl LayoutMaybeTrace, Error> {
|
||||||
Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError(c"show_pairing_code not supported"))
|
Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError(c"show_pairing_code not supported"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -893,12 +893,12 @@ impl FirmwareUI for UIDelizia {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn show_pairing_device_name(
|
fn show_pairing_device_name(
|
||||||
device_name: TString<'static>,
|
_device_name: TString<'static>,
|
||||||
) -> Result<impl LayoutMaybeTrace, Error> {
|
) -> Result<impl LayoutMaybeTrace, Error> {
|
||||||
Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError(c"show_pairing_device_name not supported"))
|
Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError(c"show_pairing_device_name not supported"))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn show_pairing_code(code: TString<'static>) -> Result<impl LayoutMaybeTrace, Error> {
|
fn show_pairing_code(_code: TString<'static>) -> Result<impl LayoutMaybeTrace, Error> {
|
||||||
Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError(c"show_pairing_code not supported"))
|
Err::<RootComponent<Empty, ModelUI>, Error>(Error::ValueError(c"show_pairing_code not supported"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user