抽离代码中的fromHtml的content,修复个人中心同步问题

This commit is contained in:
kehaoyuan
2017-10-14 14:44:25 +08:00
parent 6bbd7ec00d
commit 4290846698
19 changed files with 105 additions and 98 deletions

View File

@ -355,9 +355,7 @@ public class DialogUtils {
}
public static void showCancelDialog(Context context, final ConfirmListener listener, CancelListener cancelListener) {
Spanned content = Html.fromHtml("取消关注游戏后,您将无法及时收到游戏" +
"<font color=\"#ff0000\">攻略</font>、" +
"<font color=\"#ff0000\">资讯</font>等最新动态提醒。");
Spanned content = Html.fromHtml(context.getString(R.string.cancel_concern_dialog));
showCancelListenerDialog(context, "取消关注", content, "确定取消", "暂不取消", listener, cancelListener);
}