try this Q
This commit is contained in:
parent
cdcf6937b8
commit
adb42b5be5
|
@ -478,8 +478,8 @@ Core.prototype.injectColoredText = function() {
|
|||
const messageContent = props.childrenMessageContent;
|
||||
const roleColor = settingsCookie["bda-gs-7"] ? messageContent.props.message.colorString || "" : "";
|
||||
const originalType = messageContent.type.type;
|
||||
props.childrenMessageContent.type.type = function() {
|
||||
const returnValue = originalType(...arguments);
|
||||
messageContent.type.type = function(props) {
|
||||
const returnValue = originalType(props);
|
||||
returnValue.props.style = {color: roleColor};
|
||||
return returnValue;
|
||||
};
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue