From 8397b0447258640fed6180e44090eb113a8732ca Mon Sep 17 00:00:00 2001 From: Adam Perkowski Date: Thu, 19 Sep 2024 20:42:50 +0200 Subject: [PATCH] Removed an unused var (#535) --- 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 fa980a409..d1ab7c488 100644 --- a/tui/src/state.rs +++ b/tui/src/state.rs @@ -231,7 +231,7 @@ impl AppState { }, )); - let style = if let Focus::List = self.focus { + if let Focus::List = self.focus { Style::default().reversed() } else { Style::new()