Cleanup
This commit is contained in:
parent
c39ec81f42
commit
b18075de14
@ -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
|
||||
|
@ -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 */
|
||||
|
@ -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)
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user