mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-11 17:37:21 +10:00
return of carousel in 1.2.57+
This commit is contained in:
@@ -1252,7 +1252,7 @@
|
||||
},
|
||||
"HomeCarousels": {
|
||||
"name": "enableHomeCarousels",
|
||||
"description": "Enable carousels on home (carousel is temporarily disabled because it causes lags in the main menu)",
|
||||
"description": "Enable carousels on home (causes lags in the main menu 1.2.44-1.2.56)",
|
||||
"native_description": "Enable carousels on home",
|
||||
"version": {
|
||||
"fr": "1.2.44",
|
||||
@@ -2083,4 +2083,4 @@
|
||||
"replace": "=>{ return null; $1"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
4
run.ps1
4
run.ps1
@@ -1113,8 +1113,8 @@ function Helper($paramname) {
|
||||
$Disable = $webjson.others.DisableExp
|
||||
$Custom = $webjson.others.CustomExp
|
||||
|
||||
# carousel is temporarily disabled because it causes lags in the main menu
|
||||
Move-Json -n 'HomeCarousels' -t $Enable -f $Disable
|
||||
# causes lags in the main menu 1.2.44-1.2.56
|
||||
if ([version]$offline -le [version]'1.2.56.502') { Move-Json -n 'HomeCarousels' -t $Enable -f $Disable }
|
||||
|
||||
# temporarily disable collapsing right sidebar
|
||||
Move-Json -n 'PeekNpv' -t $Enable -f $Disable
|
||||
|
||||
Reference in New Issue
Block a user