mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-23 16:44:17 +02:00
Remove unnecessary comparison
This commit is contained in:
parent
b296cbb780
commit
50e8782aa8
1 changed files with 1 additions and 1 deletions
2
ui/ui.go
2
ui/ui.go
|
|
@ -154,7 +154,7 @@ func initialize(cfg Config, style string) func() (tea.Model, tea.Cmd) {
|
|||
return func() (tea.Model, tea.Cmd) {
|
||||
if style == "auto" {
|
||||
dbg := te.HasDarkBackground()
|
||||
if dbg == true {
|
||||
if dbg {
|
||||
style = "dark"
|
||||
} else {
|
||||
style = "light"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue