Fix market overview
This commit is contained in:
@@ -137,7 +137,7 @@ struct Property(&'static str, String);
|
||||
|
||||
impl Formatted for MarketOverview {
|
||||
fn get_formatted(&self) -> Vec<String> {
|
||||
vec![
|
||||
let mut o = vec![
|
||||
Property("TREND", format!("{}", self.trend)),
|
||||
Property("VOLATILITY", format!("{}", self.volatility)),
|
||||
Property(
|
||||
@@ -149,7 +149,14 @@ impl Formatted for MarketOverview {
|
||||
},
|
||||
),
|
||||
]
|
||||
.get_formatted()
|
||||
.get_formatted();
|
||||
|
||||
o.push(format!(
|
||||
"\n{}",
|
||||
apply_padding(self.alerts.get_formatted()).join("\n")
|
||||
));
|
||||
|
||||
o
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user