File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ const parseChatToJsx = (
188
188
const style : StyleProp < TextStyle > = { }
189
189
if ( c . bold ) style . fontWeight = 'bold'
190
190
if ( c . italic ) style . fontStyle = 'italic'
191
- // TODO: if (c.obfuscated) style.color = 'transparent'
191
+ if ( c . obfuscated ) c . text = ( c . text || '' ) . replace ( / . / g , '▒' )
192
192
if ( c . underlined && c . strikethrough ) {
193
193
style . textDecorationLine = 'underline line-through'
194
194
} else if ( c . underlined ) style . textDecorationLine = 'underline'
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ const ServerScreen = () => {
174
174
const onCloseOrError = ( ) => {
175
175
setConnection ( undefined )
176
176
if ( newConn . disconnectReason ) {
177
- // LOW- TODO: This doesn't always hit correctly, since screen may be unrendered.
177
+ // TODO: This doesn't always hit correctly, since screen may be unrendered.
178
178
setDisconnectDialog ( {
179
179
server,
180
180
reason : JSON . parse ( newConn . disconnectReason )
You can’t perform that action at this time.
0 commit comments