diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-09-08 13:11:15 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-09-08 13:11:15 +0000 |
commit | 1d0ab483d183dcffbee4f2d64ccc7b10fbca505b (patch) | |
tree | 8b50be6ac2a5901022ccdfee557ecb90b91c5042 | |
parent | 5fddea1362cf65968abc49550ada834f2ddaa37e (diff) | |
download | infinity-for-reddit-1d0ab483d183dcffbee4f2d64ccc7b10fbca505b.tar infinity-for-reddit-1d0ab483d183dcffbee4f2d64ccc7b10fbca505b.tar.gz infinity-for-reddit-1d0ab483d183dcffbee4f2d64ccc7b10fbca505b.tar.bz2 infinity-for-reddit-1d0ab483d183dcffbee4f2d64ccc7b10fbca505b.tar.lz infinity-for-reddit-1d0ab483d183dcffbee4f2d64ccc7b10fbca505b.tar.xz infinity-for-reddit-1d0ab483d183dcffbee4f2d64ccc7b10fbca505b.tar.zst infinity-for-reddit-1d0ab483d183dcffbee4f2d64ccc7b10fbca505b.zip |
Fix gfycat videos cannot be downloaded.
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewVideoActivity.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewVideoActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewVideoActivity.java index a9e366ca..f82e85b7 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewVideoActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewVideoActivity.java @@ -354,6 +354,8 @@ public class ViewVideoActivity extends AppCompatActivity { } else if (videoType == VIDEO_TYPE_GFYCAT || videoType == VIDEO_TYPE_REDGIFS) { if (savedInstanceState != null) { videoDownloadUrl = savedInstanceState.getString(VIDEO_DOWNLOAD_URL_STATE); + } else { + videoDownloadUrl = intent.getStringExtra(EXTRA_VIDEO_DOWNLOAD_URL); } String gfycatId = intent.getStringExtra(EXTRA_GFYCAT_ID); |