fix: 用户页面闪退
This commit is contained in:
parent
fedb6180fd
commit
bfcf20443e
|
|
@ -143,6 +143,7 @@ class UserActivity : BaseActivity() {
|
|||
launch {
|
||||
TiebaApi.getInstance()
|
||||
.userProfileFlow(uidLong)
|
||||
.catch { toastShort(it.getErrorMessage()) }
|
||||
.collect {
|
||||
actionBtn.visibility = View.VISIBLE
|
||||
loadingView.visibility = View.GONE
|
||||
|
|
|
|||
|
|
@ -94,8 +94,6 @@ import java.io.IOException
|
|||
import java.net.URLEncoder
|
||||
|
||||
object MixedTiebaApiImpl : ITiebaApi {
|
||||
const val BOUNDARY = "--------7da3d81520810*"
|
||||
|
||||
override fun personalized(loadType: Int, page: Int): Call<PersonalizedBean> =
|
||||
RetrofitTiebaApi.MINI_TIEBA_API.personalized(loadType, page)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue