Skip to content

Commit 980d60e

Browse files
committed
tag fixes
1 parent cb46367 commit 980d60e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lovely.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ target = "functions/button_callbacks.lua"
166166
pattern = '''add_tag(_tag.config.ref_table)'''
167167
position = "at"
168168
payload = '''
169-
add_tag(Cryptid.get_next_tag or _tag.config.ref_table, true)
169+
local tag = Cryptid.get_next_tag()
170+
add_tag(tag and Tag(tag) or _tag.config.ref_table, true)
170171
'''
171172
match_indent = true
172173

0 commit comments

Comments
 (0)