mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 22:38:08 +00:00
chore(core): replace View full
button text with Show all
[no changelog]
This commit is contained in:
parent
6c97dfef78
commit
78d5abd9b1
@ -108,7 +108,7 @@ where
|
|||||||
|
|
||||||
/// Button layout for the current page.
|
/// Button layout for the current page.
|
||||||
/// Normally there are arrows everywhere, apart from the right side of the
|
/// Normally there are arrows everywhere, apart from the right side of the
|
||||||
/// last page. On xpub pages there is VIEW FULL middle button when it
|
/// last page. On xpub pages there is SHOW ALL middle button when it
|
||||||
/// cannot fit one page. On xpub subpages there are wide arrows to
|
/// cannot fit one page. On xpub subpages there are wide arrows to
|
||||||
/// scroll.
|
/// scroll.
|
||||||
fn get_button_layout(&mut self) -> ButtonLayout<T> {
|
fn get_button_layout(&mut self) -> ButtonLayout<T> {
|
||||||
@ -123,7 +123,7 @@ where
|
|||||||
} else {
|
} else {
|
||||||
let left = Some(ButtonDetails::left_arrow_icon());
|
let left = Some(ButtonDetails::left_arrow_icon());
|
||||||
let middle = if self.is_xpub_page() && self.subpages_in_current_page() > 1 {
|
let middle = if self.is_xpub_page() && self.subpages_in_current_page() > 1 {
|
||||||
Some(ButtonDetails::armed_text("VIEW FULL".into()))
|
Some(ButtonDetails::armed_text("SHOW ALL".into()))
|
||||||
} else {
|
} else {
|
||||||
None
|
None
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user