feat: hide tooltip extension checkbox in settings

This commit is contained in:
Salikh Gurgenidze
2025-12-23 14:50:55 +04:00
parent 0c55cd80ba
commit fee19fcfb2
5 changed files with 130 additions and 19 deletions
+5
View File
@@ -165,6 +165,11 @@ local function GetClassColor(classToken)
end
function Tooltip:AddInventoryInfo(tooltip, link)
-- Check if the setting is enabled
if not addon.Modules.DB:GetSetting("showTooltipCounts") then
return
end
-- Check if database is properly initialized and has the expected structure
if not Guda_DB or type(Guda_DB) ~= "table" then
return