feat: option to hide alt indicator closes #1410
This commit is contained in:
parent
87496e01af
commit
4a74b16d24
4 changed files with 12 additions and 1 deletions
|
@ -87,6 +87,8 @@ useIntersectionObserver(video, (entries) => {
|
|||
}
|
||||
})
|
||||
}, { threshold: 0.75 })
|
||||
|
||||
const userSettings = useUserSettings()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
@ -167,7 +169,7 @@ useIntersectionObserver(video, (entries) => {
|
|||
/>
|
||||
</button>
|
||||
</template>
|
||||
<div v-if="attachment.description" :class="isAudio ? '' : 'absolute left-2 bottom-2'">
|
||||
<div v-if="attachment.description && !getPreferences(userSettings, 'hideAltIndicatorOnPosts')" :class="isAudio ? '' : 'absolute left-2 bottom-2'">
|
||||
<VDropdown :distance="6" placement="bottom-start">
|
||||
<button
|
||||
font-bold text-sm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue