parent
1712081f0b
commit
ecaeec226c
|
@ -254,7 +254,8 @@
|
||||||
),
|
),
|
||||||
spoilerShown: ({ $spoilersShown, uuid }) => !!$spoilersShown[uuid],
|
spoilerShown: ({ $spoilersShown, uuid }) => !!$spoilersShown[uuid],
|
||||||
replyShown: ({ $repliesShown, uuid }) => !!$repliesShown[uuid],
|
replyShown: ({ $repliesShown, uuid }) => !!$repliesShown[uuid],
|
||||||
showCard: ({ originalStatus, isStatusInNotification, showMedia }) => (
|
showCard: ({ originalStatus, isStatusInNotification, showMedia, $hideCards }) => (
|
||||||
|
!$hideCards &&
|
||||||
!isStatusInNotification &&
|
!isStatusInNotification &&
|
||||||
!showMedia &&
|
!showMedia &&
|
||||||
originalStatus.card &&
|
originalStatus.card &&
|
||||||
|
|
|
@ -32,6 +32,11 @@
|
||||||
bind:checked="$disableCustomScrollbars" on:change="onChange(event)">
|
bind:checked="$disableCustomScrollbars" on:change="onChange(event)">
|
||||||
<label for="choice-disable-custom-scrollbars">Disable custom scrollbars</label>
|
<label for="choice-disable-custom-scrollbars">Disable custom scrollbars</label>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="setting-group">
|
||||||
|
<input type="checkbox" id="choice-hide-cards"
|
||||||
|
bind:checked="$hideCards" on:change="onChange(event)">
|
||||||
|
<label for="choice-hide-cards">Hide link preview cards</label>
|
||||||
|
</div>
|
||||||
<div class="setting-group">
|
<div class="setting-group">
|
||||||
<input type="checkbox" id="choice-underline-links"
|
<input type="checkbox" id="choice-underline-links"
|
||||||
bind:checked="$underlineLinks" on:change="onChange(event)">
|
bind:checked="$underlineLinks" on:change="onChange(event)">
|
||||||
|
|
|
@ -15,6 +15,7 @@ const persistedState = {
|
||||||
disableHotkeys: false,
|
disableHotkeys: false,
|
||||||
disableLongAriaLabels: false,
|
disableLongAriaLabels: false,
|
||||||
disableTapOnStatus: false,
|
disableTapOnStatus: false,
|
||||||
|
hideCards: false,
|
||||||
largeInlineMedia: false,
|
largeInlineMedia: false,
|
||||||
instanceNameInSearch: '',
|
instanceNameInSearch: '',
|
||||||
instanceThemes: {},
|
instanceThemes: {},
|
||||||
|
|
Loading…
Reference in a new issue