mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2026-07-27 02:04:46 +10:00
chore(download manager): Some easy cleanup of the download manager
Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
@@ -12,7 +12,7 @@ use std::{
|
||||
use log::info;
|
||||
use serde::Serialize;
|
||||
|
||||
use crate::downloads::download_agent::{GameDownloadAgent};
|
||||
use crate::downloads::download_agent::GameDownloadAgent;
|
||||
|
||||
use super::{application_download_error::ApplicationDownloadError, download_manager_builder::{CurrentProgressObject, DownloadableQueueStandin}, downloadable::Downloadable, queue::Queue};
|
||||
|
||||
|
||||
@@ -249,7 +249,7 @@ impl DownloadManagerBuilder {
|
||||
return;
|
||||
}
|
||||
let previous_state = previous_state.unwrap();
|
||||
if let Some((version_name, install_dir)) = match previous_state {
|
||||
if let Some((_version_name, install_dir)) = match previous_state {
|
||||
ApplicationStatus::Installed {
|
||||
version_name,
|
||||
install_dir,
|
||||
|
||||
Reference in New Issue
Block a user