pull/32/head
kunfei 5 years ago
parent d643d022ad
commit 8137846690
  1. 5
      app/src/main/java/io/legado/app/ui/changesource/ChangeSourceDialog.kt

@ -26,6 +26,11 @@ class ChangeSourceDialog(val name: String, val author: String) : DialogFragment(
initSearchView() initSearchView()
} }
override fun onStart() {
super.onStart()
dialog?.window?.setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)
}
private fun initRecyclerView() { private fun initRecyclerView() {
recycler_view.layoutManager = LinearLayoutManager(context) recycler_view.layoutManager = LinearLayoutManager(context)
} }

Loading…
Cancel
Save