remove unused code

This commit is contained in:
rabite 2020-01-27 16:35:12 +01:00
parent 5b12592ebe
commit 5899ee9b65
1 changed files with 0 additions and 10 deletions

View File

@ -124,12 +124,6 @@ impl Listable for ListView<Files> {
self.content.len = 1;
}
let sender = self.core.get_sender();
let visible_files = self.core.coordinates.size_u().1 + self.offset + 1;
self.content.meta_upto(visible_files, Some(sender.clone()));
self.refresh_files().log();
if self.content.is_dirty() {
@ -137,10 +131,6 @@ impl Listable for ListView<Files> {
self.core.set_dirty();
}
if self.content.dirty_meta.is_dirty() {
self.content.meta_upto(visible_files, Some(sender.clone()));
self.core.set_dirty();
}
Ok(())
}