From 2ad3fa1593d2998b07498eca8bb3654860cb63c6 Mon Sep 17 00:00:00 2001 From: arkon Date: Mon, 27 Apr 2020 22:22:25 -0400 Subject: [PATCH] Add row dividers in source migration list --- .../eu/kanade/tachiyomi/ui/migration/MigrationController.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/migration/MigrationController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/migration/MigrationController.kt index bfd353043..03ddd90fa 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/migration/MigrationController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/migration/MigrationController.kt @@ -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(), @@ -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) {