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()
|
||||
end
|
||||
|
||||
nextButton.onTouch = function()
|
||||
nextButton.onTouch = function(_, _, _, _, _, _, _, username)
|
||||
nextButton.lastTouchUsername = username
|
||||
|
||||
stage = stage + 1
|
||||
loadStage()
|
||||
end
|
||||
@ -503,11 +505,14 @@ addStage(function()
|
||||
addImage(0, 0, "User")
|
||||
addTitle(0x696969, localization.setup)
|
||||
|
||||
usernameInput.text = nextButton.lastTouchUsername
|
||||
layout:addChild(usernameInput)
|
||||
layout:addChild(passwordInput)
|
||||
layout:addChild(passwordSubmitInput)
|
||||
layout:addChild(usernamePasswordText)
|
||||
layout:addChild(withoutPasswordSwitchAndLabel)
|
||||
|
||||
checkUserInputs()
|
||||
end)
|
||||
|
||||
-- Downloads customization stage
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user