pull/66/head
kunfei 5 years ago
parent b972679f6a
commit 82dce02541
  1. 3
      app/src/main/java/io/legado/app/ui/widget/font/FontSelectDialog.kt

@ -25,7 +25,8 @@ class FontSelectDialog : DialogFragment(), FontAdapter.CallBack {
private val fontFolderRequestCode = 35485 private val fontFolderRequestCode = 35485
private lateinit var adapter: FontAdapter private lateinit var adapter: FontAdapter
var curPath: String? = null var curPath: String? = null
val fontFolder = App.INSTANCE.filesDir.absolutePath + File.separator + "Fonts" + File.separator private val fontFolder =
App.INSTANCE.filesDir.absolutePath + File.separator + "Fonts" + File.separator
var defaultFont: (() -> Unit)? = null var defaultFont: (() -> Unit)? = null
var selectFile: ((path: String) -> Unit)? = null var selectFile: ((path: String) -> Unit)? = null

Loading…
Cancel
Save