mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
fix: crash when opening leader board tab
This commit is contained in:
parent
139a296bd3
commit
c4874f29d4
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