mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
fix: crash when opening leader board tab (#6220)
This commit is contained in:
parent
939d01b267
commit
681881f4f6
1 changed files with 1 additions and 1 deletions
|
|
@ -500,7 +500,7 @@ class ContributionsFragment
|
|||
|
||||
private fun setUploadCount() {
|
||||
okHttpJsonApiClient
|
||||
?.getUploadCount((activity as MainActivity).sessionManager?.currentAccount!!.name)
|
||||
?.getUploadCount(sessionManager?.currentAccount!!.name)
|
||||
?.subscribeOn(Schedulers.io())
|
||||
?.observeOn(AndroidSchedulers.mainThread())?.let {
|
||||
compositeDisposable.add(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue