fix inverted canHideAds condition

This commit is contained in:
Hazelnoot 2025-06-25 03:01:42 -04:00
parent f95ed0faa7
commit 52efe033f5

View file

@ -915,7 +915,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<SearchMarker :keywords="['ad', 'show', 'hide']"> <SearchMarker :keywords="['ad', 'show', 'hide']">
<MkPreferenceContainer k="forceShowAds"> <MkPreferenceContainer k="forceShowAds">
<MkSwitch v-model="hideAds" :disabled="$i.policies.canHideAds"> <MkSwitch v-model="hideAds" :disabled="!$i.policies.canHideAds">
<template #label><SearchLabel>{{ i18n.ts.hideAds }}</SearchLabel></template> <template #label><SearchLabel>{{ i18n.ts.hideAds }}</SearchLabel></template>
</MkSwitch> </MkSwitch>
</MkPreferenceContainer> </MkPreferenceContainer>