mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
d5dad7065d
commit
468c574c25
@ -52,8 +52,8 @@ class FontSelectDialog : BaseDialogFragment(R.layout.dialog_font_select),
|
||||
)
|
||||
loadFontFiles(doc)
|
||||
} else {
|
||||
RealPathUtil.getPath(requireContext(), uri)?.let {
|
||||
loadFontFilesByPermission(it)
|
||||
RealPathUtil.getPath(requireContext(), uri)?.let { path ->
|
||||
loadFontFilesByPermission(path)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user