@ -71,12 +71,16 @@ class FontSelectDialog : BaseDialogFragment(),
if (fontPath.isNullOrEmpty()) {
openFolder()
} else {
if (fontPath.isContentPath()) {
val doc = DocumentFile.fromTreeUri(requireContext(), Uri.parse(fontPath))
if (doc?.canRead() == true) {
getFontFiles(doc)
}
getFontFilesByPermission(fontPath)