refactor: Cleaning up downloads playing and pausing

Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
quexeky
2024-11-09 19:57:53 +11:00
parent 55b7921ee6
commit 2c7b5fb47d
9 changed files with 60 additions and 61 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ mod auth;
mod db;
mod downloads;
mod library;
mod remote;
mod p2p;
mod remote;
#[cfg(test)]
mod tests;
@@ -79,7 +79,7 @@ fn setup() -> AppState {
let (app_status, user) = auth::setup().unwrap();
AppState {
status: app_status,
user: user,
user,
games: HashMap::new(),
game_downloads: HashMap::new(),
}