pull/71/head^2^2
kunfei 5 years ago
parent 91a5def2cc
commit ede7b0a62b
  1. 2
      app/src/main/java/io/legado/app/ui/widget/font/FontAdapter.kt

@ -20,7 +20,7 @@ class FontAdapter(context: Context, val callBack: CallBack) :
tv_font.typeface = typeface
tv_font.text = item.name
this.onClick { callBack.onClick(item) }
if (item.absolutePath == callBack.curFilePath()) {
if (item.name == callBack.curFilePath().substringAfterLast(File.separator)) {
iv_checked.visible()
} else {
iv_checked.invisible()

Loading…
Cancel
Save