Skip to content

Commit

Permalink
fixup: progress, test
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Mar 3, 2025
1 parent a8152fd commit ec66f3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mullvad-update/src/client/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,10 @@ mod test {
self.complete = fraction_complete;
}

fn clear_progress(&mut self) {
self.complete = 0.;
}

fn set_url(&mut self, url: &str) {
self.url = url.to_owned();
}
Expand Down

0 comments on commit ec66f3e

Please sign in to comment.