mirror of
https://github.com/fossasia/badgemagic-rs
synced 2025-07-15 17:13:59 +00:00
chore: fmt
This commit is contained in:
parent
1c93e56147
commit
01828a0e5b
1 changed files with 1 additions and 2 deletions
|
@ -168,14 +168,13 @@ fn generate_payload(args: &mut Args) -> Result<PayloadBuffer> {
|
|||
|
||||
match message.content {
|
||||
Content::Text { text } => {
|
||||
|
||||
#[cfg(not(any(feature = "u8g2-fonts")))]
|
||||
let text = Text::new(
|
||||
&text,
|
||||
Point::new(0, 8),
|
||||
U8g2TextStyle::new(u8g2_font_lucasfont_alternate_tf, BinaryColor::On),
|
||||
);
|
||||
|
||||
|
||||
#[cfg(feature = "u8g2-fonts")]
|
||||
let text = Text::new(
|
||||
&text,
|
||||
|
|
Loading…
Reference in a new issue