aboutsummaryrefslogtreecommitdiff
path: root/src/ui.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.rs')
-rwxr-xr-xsrc/ui.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.rs b/src/ui.rs
index 1884604..58d3c3c 100755
--- a/src/ui.rs
+++ b/src/ui.rs
@@ -46,7 +46,7 @@ pub fn render(app: &mut App, frame: &mut Frame) {
/// Draws the directory
fn draw_directory_browser(frame: &mut Frame, app: &mut App, size: Rect) {
- let total_songs = app.conn.conn.stats().unwrap().songs.to_string();
+ let total_songs = app.conn.stats.songs.to_string();
let rows = app.browser.filetree.iter().enumerate().map(|(i, (t, s))| {
if t == "file" {