Skip to content

Commit

Permalink
fix: typo introduced in #28
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston committed Oct 9, 2024
1 parent fa92588 commit 0b2f4e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/auto-dark-mode/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ local function parse_query_response(res)
-- 2: light
if string.match(res, "uint32 1") ~= nil then
return true
elseif string.match(res, "unit32 2") ~= nil then
elseif string.match(res, "uint32 2") ~= nil then
return false
else
return fallback == "dark"
Expand Down

0 comments on commit 0b2f4e8

Please sign in to comment.