|
|
@ -109,6 +109,7 @@ class FontSelectDialog : BaseDialogFragment(), |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private fun openFolder() { |
|
|
|
private fun openFolder() { |
|
|
|
|
|
|
|
launch(Main) { |
|
|
|
alert { |
|
|
|
alert { |
|
|
|
titleResource = R.string.select_folder |
|
|
|
titleResource = R.string.select_folder |
|
|
|
items(resources.getStringArray(R.array.select_folder).toList()) { _, index -> |
|
|
|
items(resources.getStringArray(R.array.select_folder).toList()) { _, index -> |
|
|
@ -145,6 +146,7 @@ class FontSelectDialog : BaseDialogFragment(), |
|
|
|
} |
|
|
|
} |
|
|
|
}.show() |
|
|
|
}.show() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@SuppressLint("DefaultLocale") |
|
|
|
@SuppressLint("DefaultLocale") |
|
|
|
private fun getFontFiles(doc: DocumentFile) { |
|
|
|
private fun getFontFiles(doc: DocumentFile) { |
|
|
|