fix: remove unnecessary if

This commit is contained in:
Ayman Bagabas 2024-07-23 15:39:12 -04:00
parent 87dd58def7
commit 8a0e6405b7
No known key found for this signature in database
GPG Key ID: C8D51D2157C919AC

View File

@ -307,9 +307,7 @@ func (s Style) Render(strs ...string) string {
te = te.Underline()
}
if reverse {
if reverse {
teWhitespace = teWhitespace.Reverse()
}
teWhitespace = teWhitespace.Reverse()
te = te.Reverse()
}
if blink {