refactor(downloads): Replaced static usage with const

This commit is contained in:
quexeky
2024-12-14 22:42:57 +11:00
committed by quexeky
parent 022330bcb6
commit 4ad688da14

View File

@ -44,7 +44,7 @@ impl ProgressHandle {
}
}
static PROGRESS_UPDATES: usize = 100;
pub const PROGRESS_UPDATES: usize = 100;
impl ProgressObject {
pub fn new(max: usize, length: usize, sender: Sender<DownloadManagerSignal>) -> Self {