mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix transparent fill
This commit is contained in:
parent
99cb09c657
commit
33d71dd06f
@ -31,7 +31,10 @@ export const checkTransparentFill = async (vm: {
|
|||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
).then(() => {
|
).then(banner => {
|
||||||
|
if (banner.length === 0) {
|
||||||
|
return
|
||||||
|
}
|
||||||
addComponentListener('customNavbar.transparent', value => {
|
addComponentListener('customNavbar.transparent', value => {
|
||||||
if (!getComponentSettings('hideBanner').enabled) {
|
if (!getComponentSettings('hideBanner').enabled) {
|
||||||
vm.toggleStyle(value, 'transparent')
|
vm.toggleStyle(value, 'transparent')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user