Skip to content

Commit

Permalink
fixed incorrect scope for custom_color
Browse files Browse the repository at this point in the history
  • Loading branch information
rogercyyu committed Oct 26, 2020
1 parent aee65ec commit a8af107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/onefetch/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ impl Info {
custom_color.insert(4, default_colors[0]);
custom_color.insert(5, Color::White);
} else {
let mut custom_color: Vec<Color> = text_colors
custom_color = text_colors
.iter()
.map(|color_num| {
let custom = Info::num_to_color(color_num);
Expand Down

0 comments on commit a8af107

Please sign in to comment.