mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-24 05:38:01 +03:00
Add row dividers in source migration list
This commit is contained in:
parent
4bb9949768
commit
2ad3fa1593
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,7 @@ import eu.kanade.tachiyomi.R
|
|||
import eu.kanade.tachiyomi.databinding.MigrationControllerBinding
|
||||
import eu.kanade.tachiyomi.ui.base.controller.NucleusController
|
||||
import eu.kanade.tachiyomi.ui.base.controller.withFadeTransaction
|
||||
import eu.kanade.tachiyomi.ui.browse.source.SourceDividerItemDecoration
|
||||
|
||||
class MigrationController :
|
||||
NucleusController<MigrationControllerBinding, MigrationPresenter>(),
|
||||
|
@ -39,6 +40,7 @@ class MigrationController :
|
|||
adapter = FlexibleAdapter(null, this)
|
||||
binding.migrationRecycler.layoutManager = LinearLayoutManager(view.context)
|
||||
binding.migrationRecycler.adapter = adapter
|
||||
binding.migrationRecycler.addItemDecoration(SourceDividerItemDecoration(view.context))
|
||||
}
|
||||
|
||||
override fun onDestroyView(view: View) {
|
||||
|
|
Loading…
Reference in a new issue