ingame/mail/keyboard/mailinbox_keyboard.lua:31 -- MAIL_INBOX_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if(newState == SCENE_SHOWING) then
KEYBIND_STRIP:AddKeybindButtonGroup(manager.selectionKeybindStripDescriptor)
if(manager.inboxDirty) then
manager:RefreshData()
end
elseif(newState == SCENE_HIDING) then
CURRENCY_INPUT:Hide()
elseif(newState == SCENE_HIDDEN) then
KEYBIND_STRIP:RemoveKeybindButtonGroup(manager.selectionKeybindStripDescriptor)
elseif(newState == SCENE_SHOWN) then
if self.dirtyMail then
OnMailReadable(self.dirtyMail)
end
end
end)