diff options
| author | krolxon <krolyxon@tutanota.com> | 2024-05-12 17:17:57 +0530 |
|---|---|---|
| committer | krolxon <krolyxon@tutanota.com> | 2024-05-12 17:17:57 +0530 |
| commit | f3fb60a1a0fa5156bd0a4569a383224cdbabd961 (patch) | |
| tree | 9681900b17601c61e33f4e664f5662dd327c344f /src/app.rs | |
| parent | 633841700263a055a13a4ba41e9026a1abc5073c (diff) | |
fix highlight delay when song deleted from queue
Diffstat (limited to 'src/app.rs')
| -rwxr-xr-x | src/app.rs | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -12,9 +12,8 @@ pub type AppResult<T> = std::result::Result<T, Box<dyn std::error::Error>>; /// 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<Song>, // Stores the current playing queue pub pl_list: ContentList<String>, // 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); }); } |
