mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-21 06:30:56 +10:00
fixed hidden premium features
- fixed hidden premium features for old theme
This commit is contained in:
+5
-3
@@ -1426,6 +1426,7 @@ If ($test_spa) {
|
|||||||
extract -counts 'more' -name '*.js' -helper 'MinJs'
|
extract -counts 'more' -name '*.js' -helper 'MinJs'
|
||||||
|
|
||||||
# xpui.css
|
# xpui.css
|
||||||
|
if ($new_theme -or !($premium)) {
|
||||||
if (!($premium)) {
|
if (!($premium)) {
|
||||||
# Hide download icon on different pages
|
# Hide download icon on different pages
|
||||||
$icon = $webjson.others.downloadicon.add
|
$icon = $webjson.others.downloadicon.add
|
||||||
@@ -1444,10 +1445,11 @@ If ($test_spa) {
|
|||||||
$navaltfix = $webjson.others.navaltfix.add[1]
|
$navaltfix = $webjson.others.navaltfix.add[1]
|
||||||
}
|
}
|
||||||
$navaltfix2 = $webjson.others.navaltfix.add[2]
|
$navaltfix2 = $webjson.others.navaltfix.add[2]
|
||||||
|
|
||||||
$css = $icon, $submenu, $very_high, $navaltfix, $navaltfix2
|
|
||||||
extract -counts 'one' -method 'zip' -name 'xpui.css' -add $css
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$css = $icon, $submenu, $very_high, $navaltfix, $navaltfix2
|
||||||
|
extract -counts 'one' -method 'zip' -name 'xpui.css' -add $css
|
||||||
|
}
|
||||||
|
|
||||||
# Old UI fix
|
# Old UI fix
|
||||||
extract -counts 'one' -method 'zip' -name 'xpui.css' -helper "FixOldTheme"
|
extract -counts 'one' -method 'zip' -name 'xpui.css' -helper "FixOldTheme"
|
||||||
|
|||||||
Reference in New Issue
Block a user