fix
This commit is contained in:
parent
edc475d232
commit
c58105a160
|
@ -120,11 +120,11 @@ const darkMode = computed(defaultStore.makeGetterSetter('darkMode'));
|
||||||
const enablehanntenn = computed(defaultStore.makeGetterSetter('enablehanntenn'));
|
const enablehanntenn = computed(defaultStore.makeGetterSetter('enablehanntenn'));
|
||||||
|
|
||||||
if (darkMode.value) {
|
if (darkMode.value) {
|
||||||
bannerUrl.value = bannerDark;
|
bannerUrl.value = enablehanntenn.value ? bannerLight : bannerDark;
|
||||||
iconUrl.value = iconDark;
|
iconUrl.value = enablehanntenn.value ? iconLight : iconDark;
|
||||||
} else {
|
} else {
|
||||||
bannerUrl.value = bannerLight;
|
bannerUrl.value = enablehanntenn.value ? bannerDark : bannerLight;
|
||||||
iconUrl.value = iconLight;
|
iconUrl.value = enablehanntenn.value ? iconDark : iconLight;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (darkMode.value && gamingMode.value) {
|
if (darkMode.value && gamingMode.value) {
|
||||||
|
@ -138,11 +138,11 @@ if (darkMode.value && gamingMode.value) {
|
||||||
watch([darkMode,gamingMode], () => {
|
watch([darkMode,gamingMode], () => {
|
||||||
|
|
||||||
if (darkMode.value) {
|
if (darkMode.value) {
|
||||||
bannerUrl.value = enablehanntenn ? bannerLight : bannerDark;
|
bannerUrl.value = enablehanntenn.value ? bannerLight : bannerDark;
|
||||||
iconUrl.value = enablehanntenn ? bannerLight : bannerDark;
|
iconUrl.value = enablehanntenn.value ? iconLight : iconDark;
|
||||||
} else {
|
} else {
|
||||||
bannerUrl.value = enablehanntenn ? bannerDark : bannerLight;
|
bannerUrl.value = enablehanntenn.value ? bannerDark : bannerLight;
|
||||||
iconUrl.value = enablehanntenn ? bannerDark : bannerLight;
|
iconUrl.value = enablehanntenn.value ? iconDark : iconLight;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (darkMode.value && gamingMode.value) {
|
if (darkMode.value && gamingMode.value) {
|
||||||
|
|
Loading…
Reference in New Issue