From eb192d23baab15479b42bde618ba39f722df581b Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Thu, 19 Sep 2024 13:44:04 -0500 Subject: [PATCH] Revert "Removed an unused var (#535)" (#538) This reverts commit 8397b0447258640fed6180e44090eb113a8732ca. --- tui/src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tui/src/state.rs b/tui/src/state.rs index d1ab7c48..fa980a40 100644 --- a/tui/src/state.rs +++ b/tui/src/state.rs @@ -231,7 +231,7 @@ impl AppState { }, )); - if let Focus::List = self.focus { + let style = if let Focus::List = self.focus { Style::default().reversed() } else { Style::new()