pull/32/head
kunfei 5 years ago
parent c858324d45
commit ef915e327d
  1. 2
      app/src/main/java/io/legado/app/ui/widget/font/FontSelectDialog.kt

@ -46,7 +46,7 @@ class FontSelectDialog(context: Context) : FontAdapter.CallBack {
recycler_view.layoutManager = LinearLayoutManager(context) recycler_view.layoutManager = LinearLayoutManager(context)
recycler_view.adapter = adapter recycler_view.adapter = adapter
val files = getFontFiles() val files = getFontFiles()
if (files == null) { if (files.isNullOrEmpty()) {
tv_no_data.visible() tv_no_data.visible()
} else { } else {
tv_no_data.invisible() tv_no_data.invisible()

Loading…
Cancel
Save