pregame/gamepad/linkaccountscreen/linkaccountscreen_gamepad.lua:19 -- LINK_ACCOUNT_GAMEPAD_SCENE:RegisterCallback("StateChange", function(oldState, newState)
if newState == SCENE_SHOWING then
self:PerformDeferredInitialize()
self:ClearCredentials()
KEYBIND_STRIP:RemoveDefaultExit()
self:SwitchToMainList()
elseif newState == SCENE_HIDDEN then
self:ResetScreen()
self:SwitchToKeybind(nil)
KEYBIND_STRIP:RestoreDefaultExit()
end
end)