Removed unused focus, fixed partial prog bar alignment

This commit is contained in:
veeso
2021-12-03 16:44:02 +01:00
committed by Christian Visintin
parent 47f3ffef7b
commit a1a1631fd2
2 changed files with 1 additions and 3 deletions

View File

@@ -229,7 +229,6 @@ impl Component<Msg, NoUserEvent> for Log {
struct OwnStates {
list_index: usize, // Index of selected element in list
list_len: usize, // Length of file list
focus: bool, // Has focus?
}
impl Default for OwnStates {
@@ -237,7 +236,6 @@ impl Default for OwnStates {
OwnStates {
list_index: 0,
list_len: 0,
focus: false,
}
}
}

View File

@@ -421,7 +421,7 @@ impl FileTransferActivity {
.attr(
&Id::ProgressBarPartial,
Attribute::Title,
AttrValue::Title((filename, Alignment::Left))
AttrValue::Title((filename, Alignment::Center))
)
.is_ok());
}