WIP - use upper font on more places

obrusvit 1 month ago
parent 002e3c3956
commit 925fa219ad

@ -313,7 +313,7 @@ impl<F> ConfirmHomescreen<F> {
pub fn new(title: TString<'static>, buffer_func: F) -> Self { pub fn new(title: TString<'static>, buffer_func: F) -> Self {
let btn_layout = ButtonLayout::cancel_none_text(TR::buttons__change.into()); let btn_layout = ButtonLayout::cancel_none_text(TR::buttons__change.into());
ConfirmHomescreen { ConfirmHomescreen {
title: Child::new(Label::centered(title, theme::TEXT_BOLD)), title: Child::new(Label::centered(title, theme::TEXT_BOLD_UPPER)),
buffer_func, buffer_func,
buttons: Child::new(ButtonController::new(btn_layout)), buttons: Child::new(ButtonController::new(btn_layout)),
} }

@ -671,7 +671,7 @@ extern "C" fn new_confirm_total(n_args: usize, args: *const Obj, kwargs: *mut Ma
let fee_rate_amount = fee_rate_amount.unwrap_or("".into()); let fee_rate_amount = fee_rate_amount.unwrap_or("".into());
let ops = OpTextLayout::new(theme::TEXT_MONO) let ops = OpTextLayout::new(theme::TEXT_MONO)
.text_bold(TR::confirm_total__title_fee) .text_bold_upper(TR::confirm_total__title_fee)
.newline() .newline()
.newline() .newline()
.newline_half() .newline_half()
@ -692,7 +692,7 @@ extern "C" fn new_confirm_total(n_args: usize, args: *const Obj, kwargs: *mut Ma
// TODO: include wallet info when available // TODO: include wallet info when available
let ops = OpTextLayout::new(theme::TEXT_MONO) let ops = OpTextLayout::new(theme::TEXT_MONO)
.text_bold(TR::confirm_total__title_sending_from) .text_bold_upper(TR::confirm_total__title_sending_from)
.newline() .newline()
.newline() .newline()
.newline_half() .newline_half()
@ -1072,7 +1072,7 @@ extern "C" fn new_show_warning(n_args: usize, args: *const Obj, kwargs: *mut Map
let mut ops = OpTextLayout::new(theme::TEXT_NORMAL); let mut ops = OpTextLayout::new(theme::TEXT_NORMAL);
ops = ops.alignment(geometry::Alignment::Center); ops = ops.alignment(geometry::Alignment::Center);
if !warning.is_empty() { if !warning.is_empty() {
ops = ops.text_bold(warning).newline(); ops = ops.text_bold_upper(warning).newline();
} }
if !description.is_empty() { if !description.is_empty() {
ops = ops.text_normal(description); ops = ops.text_normal(description);
@ -1144,7 +1144,7 @@ extern "C" fn new_show_mismatch(n_args: usize, args: *const Obj, kwargs: *mut Ma
let btn_layout = ButtonLayout::arrow_none_text(TR::buttons__quit.into()); let btn_layout = ButtonLayout::arrow_none_text(TR::buttons__quit.into());
let btn_actions = ButtonActions::cancel_none_confirm(); let btn_actions = ButtonActions::cancel_none_confirm();
let ops = OpTextLayout::new(theme::TEXT_NORMAL) let ops = OpTextLayout::new(theme::TEXT_NORMAL)
.text_bold(title) .text_bold_upper(title)
.newline() .newline()
.newline_half() .newline_half()
.text_normal(TR::addr_mismatch__contact_support_at) .text_normal(TR::addr_mismatch__contact_support_at)

@ -1,8 +1,8 @@
{ {
"current": { "current": {
"merkle_root": "83f62541670df59f347bfdf577f36c1ef504f769fd8a498c0f76aa78f9021cda", "merkle_root": "ea593a1199706af111d475c6b294b5e97ae72b8a1f2d7428cb4ee825f50ffce3",
"datetime": "2024-03-30T11:28:31.004037", "datetime": "2024-04-14T21:39:39.458051",
"commit": "1c36c0927c33fd05b4eff4b3a020940e33074b54" "commit": "a599953e686cb0b428c4e3b1e3b1deb0603294f4"
}, },
"history": [ "history": [
{ {

Loading…
Cancel
Save