aboutsummaryrefslogtreecommitdiff
path: root/src/app.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.rs')
-rwxr-xr-xsrc/app.rs6
1 files changed, 2 insertions, 4 deletions
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<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);
});
}