remove details in TagList; change ServiceSwitcher height

This commit is contained in:
Thomas Eppers 2021-11-24 17:47:06 +01:00
parent b59c5f4ead
commit 987606d264
2 changed files with 2 additions and 7 deletions

View File

@ -70,11 +70,6 @@ impl Tag {
for image in self.details.iter().skip(1) {
arch.push_str(&format!(", {}", image));
}
let arch = if !arch.is_empty() {
format!(" [{}]", arch)
} else {
String::new()
};
let dif = match &self.last_updated {
None => "".to_string(),
@ -87,7 +82,7 @@ impl Tag {
};
if dif.is_empty() {}
format!("{}{}{}", self.name, dif, arch)
format!("{}{}", self.name, dif)
}
pub fn get_details(&self) -> &Vec<TagDetails> {

View File

@ -92,7 +92,7 @@ impl Ui {
.direction(Direction::Vertical)
.constraints(
[
Constraint::Min(9),
Constraint::Length(10),
Constraint::Length(3),
Constraint::Min(7),
Constraint::Length(2),