Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
Fix bug in reddit permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhasDissa committed Aug 20, 2023
1 parent f59977a commit 7eb33bf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class RedditMemeRepositoryImpl(
false,
"",
subreddit,
child.Childdata.permalink
child.Childdata.permalink?.let { "https://www.reddit.com$it" }
)
)
} else if (url.contains("v.redd.it") || child.Childdata.preview?.redditVideo?.dash_url != null) {
Expand All @@ -75,7 +75,7 @@ class RedditMemeRepositoryImpl(
true,
previewUrl.replace("&", "&"),
subreddit,
child.Childdata.permalink
child.Childdata.permalink?.let { "https://www.reddit.com$it" }
)
)
}
Expand Down

0 comments on commit 7eb33bf

Please sign in to comment.