mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-04-03 06:32:47 +02:00
In case if default wallpaper is missing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user