Поправил иконку нового треда

This commit is contained in:
Struchkov Mark 2023-02-24 10:20:15 +03:00
parent dd9ae83014
commit c835837156
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6
3 changed files with 3 additions and 4 deletions

View File

@ -13,7 +13,7 @@ public class Icons {
public static final String AUTHOR = "\uD83D\uDC68\u200D\uD83D\uDCBB";
public static final String UPDATE = "\uD83D\uDD04";
public static final String COMMENT = "\uD83D\uDCAC";
public static final String TASK = "\uD83D\uDCBC";
public static final String THREAD = "\uD83E\uDDF5";
public static final String ARROW = "";
public static final String DANGEROUS = "⚠️";
public static final String GREEN_CIRCLE = "\uD83D\uDFE2";
@ -27,7 +27,6 @@ public class Icons {
public static final String YES = "";
public static final String NO = "";
public static final String NOTIFY = "\uD83D\uDD14";
public static final String NO_PROCESSING = "\uD83D\uDDD1";
public static final String GOOD = "\uD83D\uDC4D";
private Icons() {

View File

@ -25,7 +25,7 @@ public class NewThreadNotifyGenerator implements NotifyBoxAnswerGenerator<Discus
@Override
public BoxAnswer generate(DiscussionNewNotify notify) {
final StringBuilder builder = new StringBuilder(Icons.TASK).append(" *New Thread in your MR*")
final StringBuilder builder = new StringBuilder(Icons.THREAD).append(" *New Thread in your MR*")
.append(Icons.HR)
.append(Icons.link(escapeMarkdown(notify.getMrName()), notify.getUrl()))
.append(Icons.HR)

View File

@ -15,7 +15,7 @@ public class ThreadCloseNotifyGenerate implements NotifyBoxAnswerGenerator<TaskC
@Override
public BoxAnswer generate(TaskCloseNotify notify) {
final StringBuilder builder = new StringBuilder(Icons.TASK).append(" *Closed ").append(link("task", notify.getUrl()))
final StringBuilder builder = new StringBuilder(Icons.THREAD).append(" *Closed ").append(link("task", notify.getUrl()))
.append(Icons.HR)
.append("*").append(notify.getAuthorName()).append("*: ").append(escapeMarkdown(notify.getMessageTask()));