Skip to content

Commit bc8f1f3

Browse files
authored
Merge pull request #23 from realroot2185/better-name-timedetails
use better name for time text
2 parents be3c5e6 + 7eb8abd commit bc8f1f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

watchful-ui/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ impl TimeDetails {
685685
)
686686
.unwrap();
687687

688-
let cd = Text::with_text_style(
688+
let hm = Text::with_text_style(
689689
&buf,
690690
display.bounding_box().center(),
691691
watch_text_style(Rgb::CSS_DARK_CYAN),
@@ -696,7 +696,7 @@ impl TimeDetails {
696696
);
697697

698698
let display_area = display.bounding_box();
699-
LinearLayout::vertical(Chain::new(cd))
699+
LinearLayout::vertical(Chain::new(hm))
700700
.with_spacing(spacing::FixedMargin(10))
701701
.with_alignment(horizontal::Center)
702702
.arrange()

0 commit comments

Comments
 (0)