Skip to content
Open
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
6 changes: 6 additions & 0 deletions Mail.lua
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ function hook.InboxFrame_Update()
_G['MailItem' .. i]:Hide()
_G['MailItem' .. i]:Show()
end
do
local currentPage = InboxFrame.pageNum
local totalPages = math.ceil(GetInboxNumItems() / INBOXITEMS_TO_DISPLAY)
local text = totalPages > 0 and (currentPage .. "/" .. totalPages) or ("Empty")
InboxTitleText:SetText("Inbox [" .. text .. "]")
end
Inbox_UpdateLock()
end

Expand Down