Fixes for merging from upstream

(cherry picked from commit 5f2eb19ea37ba191d414eee4e8f45f20f1a73e89)
This commit is contained in:
jobobby04 2020-04-17 01:23:12 -04:00 committed by Jobobby04
parent 949cdccbae
commit 50097eef9f

View File

@ -77,12 +77,14 @@ class PreMigrationController(bundle: Bundle? = null) : BaseController(bundle), F
val bottomSheet = dialog?.findViewById<FrameLayout>(
com.google.android.material.R.id.design_bottom_sheet
)
val behavior: BottomSheetBehavior<*> = BottomSheetBehavior.from(bottomSheet!!)
if (bottomSheet != null) {
val behavior: BottomSheetBehavior<*> = BottomSheetBehavior.from(bottomSheet)
behavior.state = BottomSheetBehavior.STATE_EXPANDED
behavior.skipCollapsed = true
}
}
}
}
override fun startMigration(extraParam: String?) {
val listOfSources = adapter?.items?.filter {