Skip to content

Commit

Permalink
token 'hire' to other tab
Browse files Browse the repository at this point in the history
  • Loading branch information
TannerShmoog committed Sep 19, 2022
1 parent 8d2fc8c commit 709e06a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
12 changes: 1 addition & 11 deletions Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ if not addon.tableContains(addon.validLocales, locale) then
local LOCALE_WINDOW_WIDTH = 400
local LOCALE_WINDOW_HEIGHT = 200
GroupieFrame = CreateFrame("Frame", "Groupie", UIParent, "PortraitFrameTemplate")
GroupieFrame:Hide()
GroupieFrame:SetFrameStrata("DIALOG")
GroupieFrame:SetWidth(LOCALE_WINDOW_WIDTH)
GroupieFrame:SetHeight(LOCALE_WINDOW_HEIGHT)
Expand Down Expand Up @@ -680,17 +681,6 @@ local function TabSwap(isHeroic, size, tabType, tabNum)
ShowingFontStr:Show()
end

--Change button text for other tab
if tabNum == 8 then --Other
for i = 1, #addon.groupieBoardButtons do
addon.groupieBoardButtons[i].btn:SetText("Hire")
end
else
for i = 1, #addon.groupieBoardButtons do
addon.groupieBoardButtons[i].btn:SetText("LFG")
end
end

DrawListings(LFGScrollFrame)
PanelTemplates_SetTab(GroupieFrame, tabNum)
end
Expand Down
2 changes: 1 addition & 1 deletion Globals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ addon.groupieUnflippedLootPatterns = {
["GDKP"] = "gdkp bid buyer",
["SoftRes"] = "2sr 1sr sr softres softreserve soft",
["MS > OS"] = "msos",
["Other"] = "afk boost boosting boosts exp mob mobs recruit recruiting recruits roster selling wts xp layer"
["Other"] = "afk boost boosting boosts exp mob mobs recruit recruiting recruits roster selling wts xp layer hire"
}

addon.lootTypeColors = {
Expand Down

0 comments on commit 709e06a

Please sign in to comment.