Skip to content

Commit ddd7ffc

Browse files
committed
fix(interval): set initial current_appearance to nil
refs: #52
1 parent ce0361b commit ddd7ffc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/auto-dark-mode/interval.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ local M = {
33
timer = nil,
44
---@type number
55
timer_id = nil,
6-
---@type Appearance
7-
current_appearance = "dark",
6+
---@type Appearance?
7+
current_appearance = nil,
88
}
99

1010
local uv = vim.uv or vim.loop

0 commit comments

Comments
 (0)