Skip to content

Commit

Permalink
fix: remove unnecessary if
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Jul 23, 2024
1 parent 87dd58d commit 8a0e640
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions style.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8a0e640

Please sign in to comment.