Skip to content

Commit

Permalink
Fix for danbooru
Browse files Browse the repository at this point in the history
  • Loading branch information
NO-ob committed Jan 11, 2022
1 parent 01e0be7 commit b34b8f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libBooru/DanbooruHandler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class DanbooruHandler extends BooruHandler{
if (current.containsKey("file_url")){
if ((current["file_url"].length > 0)) {
BooruItem item = BooruItem(
fileURL: current["file_url"].toString(),
fileURL: current["file_url"].toString().endsWith(".zip") ? current["large_file_url"].toString() : current["file_url"].toString(),
sampleURL: current["large_file_url"].toString(),
thumbnailURL: current["preview_file_url"].toString(),
tagsList: current["tag_string"].toString().split(" "),
Expand Down

0 comments on commit b34b8f0

Please sign in to comment.