fix: 修复倒序浏览无法加载第二页
This commit is contained in:
parent
3f3b3f3f73
commit
d5590dabe0
|
@ -138,7 +138,7 @@
|
|||
android:name=".activities.AboutActivity"
|
||||
android:configChanges="screenSize|screenLayout|orientation|smallestScreenSize|keyboardHidden"
|
||||
android:windowSoftInputMode="adjustResize" />
|
||||
<activity android:name=".activities.JumpActivity">
|
||||
<activity android:name=".activities.DispatchActivity">
|
||||
<intent-filter>
|
||||
<data
|
||||
android:host="tieba.baidu.com"
|
||||
|
@ -152,6 +152,9 @@
|
|||
<data
|
||||
android:host="tieba.baidu.com"
|
||||
android:scheme="https" />
|
||||
<data
|
||||
android:host="unidispatch"
|
||||
android:scheme="com.baidu.tieba" />
|
||||
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
|
|
|
@ -314,8 +314,8 @@ class ThreadActivity : BaseActivity(), View.OnClickListener {
|
|||
|
||||
private var preloadId = -1
|
||||
private fun preload() {
|
||||
PreLoader.destroy(preloadId)
|
||||
if (hasMore() && !sort) {
|
||||
PreLoader.destroy(preloadId)
|
||||
preloadId = PreLoader.preLoad(ThreadContentLoader(tid!!, page + 1, seeLz))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue