This commit is contained in:
kunfei
2023-01-17 22:30:28 +08:00
parent 736ac84793
commit 49a49576e7
2 changed files with 2 additions and 5 deletions
@@ -1,7 +1,6 @@
package io.legado.app.ui.font
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.view.MenuItem
import android.view.View
@@ -115,9 +114,7 @@ class FontSelectDialog : BaseDialogFragment(R.layout.dialog_font_select),
launch(Main) {
val defaultPath = "SD${File.separator}Fonts"
selectFontDir.launch {
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.Q) {
otherActions = arrayListOf(SelectItem(defaultPath, -1))
}
otherActions = arrayListOf(SelectItem(defaultPath, -1))
}
}
}