mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 17:23:25 +00:00
ENH - expand Settings controls and wallpaper imports
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user