mirror of
https://github.com/bobwen-dev/hunter
synced 2025-04-12 00:55:41 +02:00
fix file counter in footer
This commit is contained in:
parent
1b596e73c1
commit
327fbc6cd2
@ -1168,7 +1168,7 @@ impl FileBrowser {
|
||||
} else { "".to_string() };
|
||||
|
||||
let main_widget = self.main_widget()?;
|
||||
let selection = main_widget.get_selection();
|
||||
let selection = main_widget.get_selection() + 1;
|
||||
let file_count = main_widget.content.len();
|
||||
let file_count = format!("{}", file_count);
|
||||
let digits = file_count.len();
|
||||
|
Loading…
x
Reference in New Issue
Block a user