Skip to content

Commit

Permalink
Fixed clippy lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
apognu committed Aug 16, 2024
1 parent ca4161b commit 520cb72
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ui/common/style.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ impl Theme {
}

if style.time.is_none() {
style.time = style.text.clone();
style.time.clone_from(&style.text);
}
if style.greet.is_none() {
style.greet = style.text.clone();
style.greet.clone_from(&style.text);
}
if style.title.is_none() {
style.title = style.border.clone();
style.title.clone_from(&style.border);
}
if style.button.is_none() {
style.button = style.action.clone();
style.button.clone_from(&style.action);
}

style
Expand Down

0 comments on commit 520cb72

Please sign in to comment.