fix: 修复主页闪退

This commit is contained in:
HuanCheng65 2022-09-02 17:10:02 +08:00
parent e3668c1b8d
commit 89d6497831
No known key found for this signature in database
GPG Key ID: E9031EF91A805148
1 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ class MainForumListFragment : BaseFragment(), Refreshable, Toolbar.OnMenuItemCli
reloadAdapters() reloadAdapters()
} }
if (view != null) { if (view != null) {
refreshOKSignProgress() runCatching { refreshOKSignProgress() }
} }
} }
@ -181,7 +181,7 @@ class MainForumListFragment : BaseFragment(), Refreshable, Toolbar.OnMenuItemCli
private fun startSign() { private fun startSign() {
TiebaUtil.startSign(attachContext) TiebaUtil.startSign(attachContext)
refreshOKSignProgress() runCatching { refreshOKSignProgress() }
} }
private fun refreshOKSignProgress() { private fun refreshOKSignProgress() {