Update tui/src/state.rs

Co-authored-by: Liam <33645555+lj3954@users.noreply.github.com>
This commit is contained in:
JEEVITHA KANNAN K S 2024-10-01 13:10:35 +05:30 committed by GitHub
parent cc16c3e56d
commit 5944d8443b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = "";