This commit is contained in:
Jobobby04 2021-05-24 14:48:41 -04:00
parent c39ec81f42
commit b18075de14
4 changed files with 4 additions and 9 deletions

View File

@ -17,9 +17,7 @@ open class Page(
// SY -->
var imageUrl = imageUrl
get() {
return field?.let { DataSaver.compress(it) }
}
get() = field?.let { DataSaver.compress(it) }
// SY <--
val number: Int

View File

@ -1,6 +1,5 @@
package eu.kanade.tachiyomi.ui.reader.model
import android.graphics.drawable.Drawable
import eu.kanade.tachiyomi.source.model.Page
import java.io.InputStream
@ -9,8 +8,6 @@ open class ReaderPage(
url: String = "",
imageUrl: String? = null,
// SY -->
var bg: Drawable? = null,
var bgType: Int? = null,
/** Value to check if this page is used to as if it was too wide */
var shiftedPage: Boolean = false,
/** Value to check if a page is can be doubled up, but can't because the next page is too wide */

View File

@ -145,7 +145,7 @@ class EhLoginActivity : BaseViewBindingActivity<EhActivityLoginBinding>() {
}
}
fun openIgneousDialog() {
private fun openIgneousDialog() {
var igneous: CharSequence? = null
MaterialDialog(this)
.title(R.string.custom_igneous_cookie)

View File

@ -45,9 +45,9 @@ object SourceTagsUtil {
private fun wrapTagNHentai(namespace: String, tag: String) = if (tag.contains(' ')) {
if (namespace == "tag") {
"\"$tag\""
""""$tag""""
} else {
"$namespace:\"$tag\""
"""$namespace:"$tag""""
}
} else {
"$namespace:$tag"