mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-10 21:22:39 +01:00
In case if default wallpaper is missing
This commit is contained in:
parent
581224b153
commit
d4d1b3b826
@ -112,7 +112,9 @@ module.onTouch = function()
|
||||
|
||||
addUserButton.onTouch = function()
|
||||
local name = "User #" .. math.random(0xFFFFFF)
|
||||
system.createUser(name, userSettings.localizationLanguage, nil, true, true)
|
||||
|
||||
system.createUser(name, userSettings.localizationLanguage, nil, userSettings.interfaceWallpaperEnabled, userSettings.interfaceScreensaverEnabled)
|
||||
|
||||
usersComboBox:addItem(name)
|
||||
usersComboBox.selectedItem = usersComboBox:count()
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user