Commit 6b1b9db6 authored by fallenstardust's avatar fallenstardust

fix

parent 12b2d252
......@@ -354,9 +354,8 @@ public class CardDetail extends BaseAdapterPlus.BaseViewHolder {
stack.pop();
if (stack.isEmpty()) {
String quotedText = text.substring(start, i).trim();
if (queryable(quotedText)) { // 使用 queryable 方法判断是否高亮
applySpan(spannableString, start, i, queryable(quotedText)? YGOUtil.c(R.color.holo_blue_bright) : Color.WHITE);
}
Log.d("cc quotedText", quotedText);
applySpan(spannableString, start, i, queryable(quotedText)? YGOUtil.c(R.color.holo_blue_bright) : Color.WHITE);
currentQuoteType = QuoteType.NONE;
} else {
stack.push(i);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment