mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
PendingUploadsFragment.kt: removed unneeded non-null assertion (!!)
This commit is contained in:
parent
a1abc64a21
commit
1d8509d436
1 changed files with 2 additions and 2 deletions
|
|
@ -74,8 +74,8 @@ class PendingUploadsFragment :
|
||||||
fun initRecyclerView() {
|
fun initRecyclerView() {
|
||||||
binding.pendingUploadsRecyclerView.setLayoutManager(LinearLayoutManager(this.context))
|
binding.pendingUploadsRecyclerView.setLayoutManager(LinearLayoutManager(this.context))
|
||||||
binding.pendingUploadsRecyclerView.adapter = adapter
|
binding.pendingUploadsRecyclerView.adapter = adapter
|
||||||
pendingUploadsPresenter!!.setup()
|
pendingUploadsPresenter.setup()
|
||||||
pendingUploadsPresenter!!.totalContributionList.observe(
|
pendingUploadsPresenter.totalContributionList.observe(
|
||||||
viewLifecycleOwner,
|
viewLifecycleOwner,
|
||||||
) { list: PagedList<Contribution?> ->
|
) { list: PagedList<Contribution?> ->
|
||||||
contributionsSize = list.size
|
contributionsSize = list.size
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue