From 5944d8443b896b4b0841efd7a38022e60aa8146e Mon Sep 17 00:00:00 2001 From: JEEVITHA KANNAN K S Date: Tue, 1 Oct 2024 13:10:35 +0530 Subject: [PATCH] Update tui/src/state.rs Co-authored-by: Liam <33645555+lj3954@users.noreply.github.com> --- 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 b0b582ad..6132fea5 100644 --- a/tui/src/state.rs +++ b/tui/src/state.rs @@ -363,7 +363,7 @@ impl AppState { }; #[cfg(feature = "tips")] - let bottom_title = Line::from(self.tip.clone().bold().blue()).right_aligned(); + let bottom_title = Line::from(self.tip.as_str().bold().blue()).right_aligned(); #[cfg(not(feature = "tips"))] let bottom_title = "";