Fix reply entities color

This commit is contained in:
morethanwords 2020-11-08 03:03:16 +02:00
parent d60910f533
commit 6a66f1b271
4 changed files with 11 additions and 5 deletions

View File

@ -550,7 +550,7 @@ export class ChatInput {
public updateSendBtn() {
let icon: 'send' | 'record';
if(!this.recorder || this.recording || !this.isInputEmpty() || this.forwardingMids.length) icon = 'send';
if(!this.recorder || this.recording || !this.isInputEmpty() || this.forwardingMids.length || this.editMsgID) icon = 'send';
else icon = 'record';
this.btnSend.classList.toggle('send', icon == 'send');

View File

@ -2520,7 +2520,7 @@ export class AppMessagesManager {
} else if(document.type == 'sticker') {
messageText = (document.stickerEmoji || '') + '<i>Sticker</i>';
} else {
messageText = '<i>' + document.file_name + '</i>';
messageText = '<i>' + document.file_name + (message.message ? ', ' : '') + '</i>';
}
break;
@ -2548,6 +2548,7 @@ export class AppMessagesManager {
messageWrapped = RichTextProcessor.wrapRichText(text, {
noLinebreaks: true,
entities: entities,
noLinks: true,
noTextFormat: true
});
}

View File

@ -784,7 +784,12 @@ $chat-helper-size: 39px;
i {
font-style: normal;
color: $color-blue;
//color: $color-blue;
color: #707579;
/* &.document-title {
color: #707579;
} */
}
img.emoji {

View File

@ -1310,7 +1310,7 @@ $bubble-margin: .25rem;
} */
}
.quote .name, .reply-title {
.quote .name, .reply-title/* , .reply i */ {
color: $color-blue;
}
@ -1456,7 +1456,7 @@ $bubble-margin: .25rem;
background-color: $darkgreen;
}
.quote .name, .reply-title {
.quote .name, .reply-title, .reply i {
color: $darkgreen;
}