Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions src/init.luau
Original file line number Diff line number Diff line change
Expand Up @@ -1481,8 +1481,14 @@ end

local function OnIconChanged(enabled: boolean): ()
-- Check for enabling/disabling the whole thing
task.wait()
enabled = enabled and StarterGui:GetCore("TopbarEnabled")
local success, _topbarEnabled = pcall(function()
return enabled and StarterGui:GetCore("TopbarEnabled")
end)

if not success then
return
end

WholeThingEnabled = enabled
MainFrame.Visible = enabled

Expand Down