Skip to content

Commit

Permalink
remove comment-out closure
Browse files Browse the repository at this point in the history
  • Loading branch information
ynqa committed Feb 24, 2024
1 parent db094fd commit 30edd6c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/core/json/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,6 @@ impl Renderable for Renderer {
}
};

// let apply_bgc_by_active = |style: ContentStyle, active: bool| -> ContentStyle {
// let mut ret = style;
// if active {
// ret.background_color = Some(self.active_item_background_color);
// } else {
// ret.background_color = Some(self.inactive_item_background_color);
// }
// ret
// };

let value = |v: &serde_json::Value| -> Graphemes {
match v {
serde_json::Value::String(s) => {
Expand Down

0 comments on commit 30edd6c

Please sign in to comment.