|
|
@ -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() |
|
|
|