fix(updater): ability to start again after cancelling (#937)

This commit is contained in:
Aabed Khan 2023-06-16 12:49:07 +05:45 committed by GitHub
parent cebfa7c8ae
commit 6cc1bd21cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,7 @@ class RevancedAPI {
return null; return null;
} }
StreamController<double> managerUpdateProgress = StreamController<double>(); StreamController<double> managerUpdateProgress = StreamController<double>.broadcast();
void updateManagerDownloadProgress(int progress) { void updateManagerDownloadProgress(int progress) {
managerUpdateProgress.add(progress.toDouble()); managerUpdateProgress.add(progress.toDouble());