...
This commit is contained in:
parent
b5ad079439
commit
2001be4424
@ -415,7 +415,7 @@ internal class LauncherActivity : CommonActivity() {
|
||||
|
||||
override fun dispatchTrackballEvent(event: MotionEvent?): Boolean {
|
||||
Blog.LOGE("event >>> ${event?.device}")
|
||||
return super.dispatchTrackballEvent(event`)
|
||||
return super.dispatchTrackballEvent(event)
|
||||
}
|
||||
|
||||
@SuppressLint("RestrictedApi")
|
||||
@ -747,11 +747,6 @@ internal class LauncherActivity : CommonActivity() {
|
||||
currentFragment.doNextPage()
|
||||
}
|
||||
}
|
||||
// if (binding.ho.isVisible) {
|
||||
// finish()
|
||||
// } else {
|
||||
// finish()
|
||||
// }
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@ -1147,7 +1147,7 @@ abstract class BaseToki : Fragment(), PagedTextViewInterface {
|
||||
else if(lastedUrl?.contains("new",true) == true) {"webtoon"}
|
||||
else if(lastedUrl?.contains("mana",true) == true) {"comics"}
|
||||
else "web"
|
||||
copyToRealm(it)
|
||||
copyToRealm(it, UpdatePolicy.ALL)
|
||||
this@BaseToki.lastInfo = it
|
||||
}
|
||||
}
|
||||
@ -1298,7 +1298,7 @@ abstract class BaseToki : Fragment(), PagedTextViewInterface {
|
||||
} else if ((lastInfo._id?.length ?: 0) > 3){
|
||||
realm.writeBlocking {
|
||||
Blog.LOGE("lastInfo >>>> $lastInfo")
|
||||
copyToRealm(lastInfo)
|
||||
copyToRealm(lastInfo,UpdatePolicy.ALL)
|
||||
}
|
||||
}
|
||||
// Blog.LOGD(log = "Successfully opened realm: ${realm.configuration.name}")
|
||||
@ -1337,7 +1337,7 @@ abstract class BaseToki : Fragment(), PagedTextViewInterface {
|
||||
else if(lastedUrl?.contains("mana",true) == true) {"comics"}
|
||||
else "web"
|
||||
it.contentsType = currentPage?.contentsType ?: it._id
|
||||
copyToRealm(it)
|
||||
copyToRealm(it,UpdatePolicy.ALL)
|
||||
this@BaseToki.lastInfo = it
|
||||
}
|
||||
if (currentTitle.length > 0 && currentChapter > 0) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user