Stop download functionality #45

Merged
akinwale merged 4 commits from stop-downloading into master 2018-03-30 13:11:53 +02:00
akinwale commented 2018-03-29 21:04:44 +02:00 (Migrated from github.com)
No description provided.
neb-b (Migrated from github.com) requested changes 2018-03-30 00:28:20 +02:00
neb-b (Migrated from github.com) left a comment

Looks good, just remove the bundles

Looks good, just remove the bundles
neb-b (Migrated from github.com) commented 2018-03-30 00:23:24 +02:00

It would be helpful to have a constants file for all colors

It would be helpful to have a constants file for all colors
@ -100,0 +117,4 @@
NativeModules.LbryDownloadManager.stopDownload(uri, fileInfo.file_name);
// Should also delete the file after the user stops downloading
dispatch(doDeleteFile(fileInfo.outpoint, uri));
neb-b (Migrated from github.com) commented 2018-03-30 00:27:58 +02:00

Can we keep the file half downloaded? I guess I'm not sure if this it would be valuable, but I might want to pause a large download and come back to it (if I leave wifi)

Can we keep the file half downloaded? I guess I'm not sure if this it would be valuable, but I might want to pause a large download and come back to it (if I leave wifi)
akinwale (Migrated from github.com) reviewed 2018-03-30 06:44:28 +02:00
@ -100,0 +117,4 @@
NativeModules.LbryDownloadManager.stopDownload(uri, fileInfo.file_name);
// Should also delete the file after the user stops downloading
dispatch(doDeleteFile(fileInfo.outpoint, uri));
akinwale (Migrated from github.com) commented 2018-03-30 06:44:28 +02:00

Yes, I believe we can. In this case, I assume it would make sense to add a pause download button specifically for this.

Yes, I believe we can. In this case, I assume it would make sense to add a pause download button specifically for this.
akinwale (Migrated from github.com) reviewed 2018-03-30 06:45:04 +02:00
akinwale (Migrated from github.com) commented 2018-03-30 06:45:04 +02:00

I agree.

I agree.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-android#45
No description provided.