1
0
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:
grdddj 2023-08-23 10:51:39 +02:00 committed by Jiří Musil
parent 6c97dfef78
commit 78d5abd9b1

View File

@ -108,7 +108,7 @@ where
/// Button layout for the current page.
/// 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
/// scroll.
fn get_button_layout(&mut self) -> ButtonLayout<T> {
@ -123,7 +123,7 @@ where
} else {
let left = Some(ButtonDetails::left_arrow_icon());
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 {
None
};