优化文字选择,不再缓存

pull/276/head^2
gedoor 4 years ago
parent 608d6c92a9
commit a166b5b435
  1. 2
      app/src/main/java/io/legado/app/ui/widget/font/FontAdapter.kt

@ -37,7 +37,7 @@ class FontAdapter(context: Context, val callBack: CallBack) :
tv_font.typeface = typeface
} catch (e: Exception) {
e.printStackTrace()
context.toast("Read Fond Error: ${e.localizedMessage}")
context.toast("Read ${item.name} Error: ${e.localizedMessage}")
}
tv_font.text = item.name
this.onClick { callBack.onClick(item) }

Loading…
Cancel
Save