mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-22 06:28:13 +00:00
chore(core): remove unused ChoiceItem
method
[no changelog]
This commit is contained in:
parent
3fa5d4e71a
commit
17c866fb7c
@ -71,11 +71,6 @@ impl ChoiceItem {
|
||||
self.btn_layout.btn_right = btn_right;
|
||||
}
|
||||
|
||||
/// Changing the text.
|
||||
pub fn set_text(&mut self, text: ShortString) {
|
||||
self.text = text;
|
||||
}
|
||||
|
||||
fn side_text(&self) -> Option<&str> {
|
||||
if self.icon.is_some() {
|
||||
None
|
||||
|
Loading…
Reference in New Issue
Block a user