mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-11 17:37:21 +10:00
carousel on main disabled
- carousel on the main page is temporarily disabled because it causes lags in the main menu #624 - lyrics_stat patch fragment is disabled
This commit is contained in:
@@ -1162,7 +1162,7 @@
|
||||
},
|
||||
"HomeCarousels": {
|
||||
"name": "enableHomeCarousels",
|
||||
"description": "Enable carousels on home",
|
||||
"description": "Enable carousels on home (carousel is temporarily disabled because it causes lags in the main menu)",
|
||||
"native_description": "Enable carousels on home",
|
||||
"version": {
|
||||
"fr": "1.2.44",
|
||||
|
||||
7
run.ps1
7
run.ps1
@@ -1149,6 +1149,9 @@ 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
|
||||
|
||||
if ([version]$offline -eq [version]'1.2.37.701' -or [version]$offline -eq [version]'1.2.38.720' ) {
|
||||
Move-Json -n 'DevicePickerSidePanel' -t $Enable -f $Disable
|
||||
}
|
||||
@@ -1159,7 +1162,7 @@ function Helper($paramname) {
|
||||
|
||||
if (!($plus)) { Move-Json -n "Plus", "AlignedCurationSavedIn" -t $Enable -f $Disable }
|
||||
|
||||
if (!($topsearchbar) -and [version]$offline -le [version]"1.2.44.405") {
|
||||
if (!($topsearchbar) -and [version]$offline -le [version]"1.2.44.405") {
|
||||
Move-Json -n "GlobalNavBar", "RecentSearchesDropdown" -t $Enable -f $Disable
|
||||
$Custom.GlobalNavBar.value = "control"
|
||||
}
|
||||
@@ -1752,7 +1755,7 @@ If ($test_spa) {
|
||||
}
|
||||
}
|
||||
# Full screen lyrics
|
||||
if ($lyrics_stat -and [version]$offline -ge [version]"1.2.3.1107") {
|
||||
if ($lyrics_stat -and [version]$offline -ge [version]"1.2.3.1107" -and [version]$offline -le [version]"1.2.44.405") {
|
||||
$css += $webjson.others.lyricscolor2.add[3]
|
||||
}
|
||||
if ($null -ne $css ) { extract -counts 'one' -method 'zip' -name 'xpui.css' -add $css }
|
||||
|
||||
Reference in New Issue
Block a user