Skip to content

Commit

Permalink
Fixing regression in i.redd.it GIF links (#1103)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumBadger committed Dec 15, 2023
1 parent b4e8786 commit 2ed9512
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/main/assets/changelog-alpha.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/Alpha 343 (2023-12-15)
Fixing regression in i.redd.it GIF links

/Alpha 342 (2023-12-12)
Show notification permission prompt on Android 13 and above (fixes Alpha issue where notifications were not shown)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,6 @@ class RedditParsedPost(

private fun findUrl(): String? {

src.url_overridden_by_dest?.decoded?.apply {
return this
}

src.media?.reddit_video?.fallback_url?.decoded?.apply {
return this
}
Expand All @@ -119,6 +115,10 @@ class RedditParsedPost(
}
}

src.url_overridden_by_dest?.decoded?.apply {
return this
}

return src.url?.decoded
}

Expand Down

0 comments on commit 2ed9512

Please sign in to comment.