ingame/contacts/keyboard/friendslist_keyboard.lua:35 -- FRIENDS_LIST_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialization()
KEYBIND_STRIP:AddKeybindButtonGroup(self.staticKeybindStripDescriptor)
KEYBIND_STRIP:AddKeybindButtonGroup(self.keybindStripDescriptor)
self:UpdateHideOfflineCheckBox(self.hideOfflineCheckBox)
elseif newState == SCENE_HIDDEN then
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.staticKeybindStripDescriptor)
KEYBIND_STRIP:RemoveKeybindButtonGroup(self.keybindStripDescriptor)
end
end)