Update dependencies

This commit is contained in:
Prathamesh More 2022-07-04 11:33:13 +05:30
parent 3493ad40ab
commit cff50fda3b
4 changed files with 6 additions and 6 deletions

View file

@ -487,7 +487,7 @@ class FoldersFragment : AbsMainActivityFragment(R.layout.fragment_folder),
}
private fun setUpRecyclerView() {
binding.recyclerView.layoutManager = LinearLayoutManager(activity)
binding.recyclerView.layoutManager = LinearLayoutManager(requireContext())
create(
binding.recyclerView
)

View file

@ -55,7 +55,7 @@ class LibraryPreferenceDialog : DialogFragment() {
val categoryAdapter = CategoryInfoAdapter()
binding.recyclerView.apply {
layoutManager = LinearLayoutManager(activity)
layoutManager = LinearLayoutManager(requireContext())
adapter = categoryAdapter
categoryAdapter.attachToRecyclerView(this)
}