mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2026-07-27 02:04:46 +10:00
refactor(downloads): Replaced static usage with const
This commit is contained in:
@@ -44,7 +44,7 @@ impl ProgressHandle {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static PROGRESS_UPDATES: usize = 100;
|
pub const PROGRESS_UPDATES: usize = 100;
|
||||||
|
|
||||||
impl ProgressObject {
|
impl ProgressObject {
|
||||||
pub fn new(max: usize, length: usize, sender: Sender<DownloadManagerSignal>) -> Self {
|
pub fn new(max: usize, length: usize, sender: Sender<DownloadManagerSignal>) -> Self {
|
||||||
|
|||||||
Reference in New Issue
Block a user