Fixed #4836 & #4840 Added the functionality of cancel upload and also solved the small bug of pausing upload (#4843)

* Fixed #4836 & #4840

* Added Pausing PopUp

* Closing Pausing PopUp exactly when pause button disappears

* Managed to display the Pausing Upload

* Added the Pausing Dialog Using Progress Bar

* Added the Pausing Dialog Using Progress Bar

* Added Required Changes

* Added Required Changes-wording change

* Added Required Changes-wording change
This commit is contained in:
Arin Modi 2022-02-26 05:11:14 +05:30 committed by GitHub
parent f1169eaff9
commit 9431e3770c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 62 additions and 9 deletions

View file

@ -18,6 +18,7 @@ import android.os.Build;
import android.os.Process;
import android.util.Log;
import androidx.annotation.NonNull;
import androidx.multidex.BuildConfig;
import androidx.multidex.MultiDexApplication;
import com.facebook.drawee.backends.pipeline.Fresco;
import com.facebook.imagepipeline.core.ImagePipeline;
@ -135,7 +136,7 @@ public class CommonsApplication extends MultiDexApplication {
ContributionDao contributionDao;
/**
* In memory list of contributios whose uploads ahve been paused by the user
* In-memory list of contributions whose uploads have been paused by the user
*/
public static Map<String, Boolean> pauseUploads = new HashMap<>();