mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2025-12-20 02:59:20 +01:00
Use nickname as default username
This commit is contained in:
parent
3a70546482
commit
58c0f93444
@ -378,7 +378,9 @@ prevButton.onTouch = function()
|
|||||||
loadStage()
|
loadStage()
|
||||||
end
|
end
|
||||||
|
|
||||||
nextButton.onTouch = function()
|
nextButton.onTouch = function(_, _, _, _, _, _, _, username)
|
||||||
|
nextButton.lastTouchUsername = username
|
||||||
|
|
||||||
stage = stage + 1
|
stage = stage + 1
|
||||||
loadStage()
|
loadStage()
|
||||||
end
|
end
|
||||||
@ -503,11 +505,14 @@ addStage(function()
|
|||||||
addImage(0, 0, "User")
|
addImage(0, 0, "User")
|
||||||
addTitle(0x696969, localization.setup)
|
addTitle(0x696969, localization.setup)
|
||||||
|
|
||||||
|
usernameInput.text = nextButton.lastTouchUsername
|
||||||
layout:addChild(usernameInput)
|
layout:addChild(usernameInput)
|
||||||
layout:addChild(passwordInput)
|
layout:addChild(passwordInput)
|
||||||
layout:addChild(passwordSubmitInput)
|
layout:addChild(passwordSubmitInput)
|
||||||
layout:addChild(usernamePasswordText)
|
layout:addChild(usernamePasswordText)
|
||||||
layout:addChild(withoutPasswordSwitchAndLabel)
|
layout:addChild(withoutPasswordSwitchAndLabel)
|
||||||
|
|
||||||
|
checkUserInputs()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- Downloads customization stage
|
-- Downloads customization stage
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user