mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-30 12:57:12 +01:00
Fix gfycat videos cannot be downloaded.
This commit is contained in:
parent
5fddea1362
commit
1d0ab483d1
@ -354,6 +354,8 @@ public class ViewVideoActivity extends AppCompatActivity {
|
|||||||
} else if (videoType == VIDEO_TYPE_GFYCAT || videoType == VIDEO_TYPE_REDGIFS) {
|
} else if (videoType == VIDEO_TYPE_GFYCAT || videoType == VIDEO_TYPE_REDGIFS) {
|
||||||
if (savedInstanceState != null) {
|
if (savedInstanceState != null) {
|
||||||
videoDownloadUrl = savedInstanceState.getString(VIDEO_DOWNLOAD_URL_STATE);
|
videoDownloadUrl = savedInstanceState.getString(VIDEO_DOWNLOAD_URL_STATE);
|
||||||
|
} else {
|
||||||
|
videoDownloadUrl = intent.getStringExtra(EXTRA_VIDEO_DOWNLOAD_URL);
|
||||||
}
|
}
|
||||||
|
|
||||||
String gfycatId = intent.getStringExtra(EXTRA_GFYCAT_ID);
|
String gfycatId = intent.getStringExtra(EXTRA_GFYCAT_ID);
|
||||||
|
Loading…
Reference in New Issue
Block a user