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