pull/1415/head
gedoor 3 years ago
parent d5dad7065d
commit 468c574c25
  1. 4
      app/src/main/java/io/legado/app/ui/widget/font/FontSelectDialog.kt

@ -52,8 +52,8 @@ class FontSelectDialog : BaseDialogFragment(R.layout.dialog_font_select),
) )
loadFontFiles(doc) loadFontFiles(doc)
} else { } else {
RealPathUtil.getPath(requireContext(), uri)?.let { RealPathUtil.getPath(requireContext(), uri)?.let { path ->
loadFontFilesByPermission(it) loadFontFilesByPermission(path)
} }
} }
} else { } else {

Loading…
Cancel
Save