diff --git a/src/routes/_components/status/Status.html b/src/routes/_components/status/Status.html index df3013b..9fe8757 100644 --- a/src/routes/_components/status/Status.html +++ b/src/routes/_components/status/Status.html @@ -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 && diff --git a/src/routes/_pages/settings/general.html b/src/routes/_pages/settings/general.html index 23a3f1e..3f0fbfe 100644 --- a/src/routes/_pages/settings/general.html +++ b/src/routes/_pages/settings/general.html @@ -32,6 +32,11 @@ bind:checked="$disableCustomScrollbars" on:change="onChange(event)"> +
+ + +
diff --git a/src/routes/_store/store.js b/src/routes/_store/store.js index b0f128c..940438b 100644 --- a/src/routes/_store/store.js +++ b/src/routes/_store/store.js @@ -15,6 +15,7 @@ const persistedState = { disableHotkeys: false, disableLongAriaLabels: false, disableTapOnStatus: false, + hideCards: false, largeInlineMedia: false, instanceNameInSearch: '', instanceThemes: {},