ENH - expand Settings controls and wallpaper imports

This commit is contained in:
DerEchteAlec
2026-08-17 05:16:03 +02:00
parent 4532ba393b
commit d121370159
14 changed files with 284 additions and 34 deletions
+3
View File
@@ -643,9 +643,12 @@ Bridge.Callbacks.Register("sky_phone:media:config", function(source)
if not owner then
return error_response
end
local wallpaper_config = type(Config.Media.Wallpaper) == "table" and Config.Media.Wallpaper or {}
return {
success = true,
data = {
customWallpaperUploadEnabled = wallpaper_config.CustomUploadEnabled == true
and Config.Media.Import.Enabled == true,
videoBitrateKbps = tonumber(Config.Media.Video.BitrateKbps) or 1500,
},
}