Skip to content

Commit

Permalink
Merge pull request #103 from g1mmethemoney/add-missing-arguments
Browse files Browse the repository at this point in the history
feat: pass all 3 arguments required by Janitor:Add()
  • Loading branch information
1ForeverHD authored Apr 9, 2024
2 parents e194fba + 96766a3 commit ae7ec2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Icon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -915,8 +915,8 @@ function Icon:call(callback, ...)
return self
end

function Icon:addToJanitor(callback)
self.janitor:add(callback)
function Icon:addToJanitor(object, methodName, index)
self.janitor:add(object, methodName, index)
return self
end

Expand Down

0 comments on commit ae7ec2c

Please sign in to comment.