Skip to content

Commit

Permalink
Fix minor code style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rubengees committed Jun 24, 2018
1 parent 5f6f3e2 commit 6e65dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/me/proxer/app/manga/MangaAdapter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class MangaAdapter(savedInstanceState: Bundle?, var isVertical: Boolean) : BaseA
}

// Do not use RapidDecoder on Android M. Crashing when zooming on that specific version.
val shouldUseRapidDecoder = (Build.VERSION.SDK_INT != Build.VERSION_CODES.M && item.name.endsWith("png"))
val shouldUseRapidDecoder = Build.VERSION.SDK_INT != Build.VERSION_CODES.M && item.name.endsWith("png")
val mustUseRapidDecoder = requiresFallback[item.decodedName] == true

if (shouldUseRapidDecoder || mustUseRapidDecoder) {
Expand Down

0 comments on commit 6e65dcf

Please sign in to comment.