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 --> // SY -->
var imageUrl = imageUrl var imageUrl = imageUrl
get() { get() = field?.let { DataSaver.compress(it) }
return field?.let { DataSaver.compress(it) }
}
// SY <-- // SY <--
val number: Int val number: Int

View File

@ -1,6 +1,5 @@
package eu.kanade.tachiyomi.ui.reader.model package eu.kanade.tachiyomi.ui.reader.model
import android.graphics.drawable.Drawable
import eu.kanade.tachiyomi.source.model.Page import eu.kanade.tachiyomi.source.model.Page
import java.io.InputStream import java.io.InputStream
@ -9,8 +8,6 @@ open class ReaderPage(
url: String = "", url: String = "",
imageUrl: String? = null, imageUrl: String? = null,
// SY --> // SY -->
var bg: Drawable? = null,
var bgType: Int? = null,
/** Value to check if this page is used to as if it was too wide */ /** Value to check if this page is used to as if it was too wide */
var shiftedPage: Boolean = false, 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 */ /** 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 var igneous: CharSequence? = null
MaterialDialog(this) MaterialDialog(this)
.title(R.string.custom_igneous_cookie) .title(R.string.custom_igneous_cookie)

View File

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