diff --git a/tui/src/state.rs b/tui/src/state.rs index b0b582adc..6132fea56 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 = "";