From f3fb60a1a0fa5156bd0a4569a383224cdbabd961 Mon Sep 17 00:00:00 2001 From: krolxon Date: Sun, 12 May 2024 17:17:57 +0530 Subject: fix highlight delay when song deleted from queue --- src/app.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/app.rs') diff --git a/src/app.rs b/src/app.rs index f0b51f2..61f9e9e 100755 --- a/src/app.rs +++ b/src/app.rs @@ -12,9 +12,8 @@ pub type AppResult = std::result::Result>; /// Application #[derive(Debug)] pub struct App { - /// check if app is running - pub running: bool, - pub conn: Connection, + pub running: bool, // Check if app is running + pub conn: Connection, // Connection pub browser: FileBrowser, // Directory browser pub queue_list: ContentList, // Stores the current playing queue pub pl_list: ContentList, // Stores list of playlists @@ -91,7 +90,6 @@ impl App { // } // }); conn.conn.queue().unwrap().into_iter().for_each(|x| { - // vec.push(x.title.unwrap()); vec.push(x); }); } -- cgit v1.2.3