From 07b028ee668afee13d878c8ff4c579276fd69f6c Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Wed, 9 Jul 2025 10:14:30 +0300 Subject: Fix quote+list card padding (#8623) * fix quote padding not being pressable * fix list padding not being pressable * Fix unnecessary loading of feeds (#8578) * stop layout shifts in feed loading * don't load feed data if we already have it * adjust styles, alf stuff * remove unused button, massively simplify * fix layout shifting in notifs * use feedcard for feed post embeds * use bold text to match other style * use Link component rather than jank Pressable * prevent nested anchors in notifs * match following text size * add space between content hider * Better dead feed handling (#8579) * add space between content hider * add handling for feeds that fail to load * cleanError, in case of network funkiness * handle deleted lists * split out missingfeed --- src/view/com/util/LoadingPlaceholder.tsx | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'src/view/com/util/LoadingPlaceholder.tsx') diff --git a/src/view/com/util/LoadingPlaceholder.tsx b/src/view/com/util/LoadingPlaceholder.tsx index eee642df3..1b454598b 100644 --- a/src/view/com/util/LoadingPlaceholder.tsx +++ b/src/view/com/util/LoadingPlaceholder.tsx @@ -1,10 +1,10 @@ import {useMemo} from 'react' import { - DimensionValue, - StyleProp, + type DimensionValue, + type StyleProp, StyleSheet, View, - ViewStyle, + type ViewStyle, } from 'react-native' import {usePalette} from '#/lib/hooks/usePalette' @@ -233,8 +233,7 @@ export function FeedLoadingPlaceholder({ @@ -252,12 +251,7 @@ export function FeedLoadingPlaceholder({ {showLowerPlaceholder && ( - - + )} @@ -352,8 +346,7 @@ const styles = StyleSheet.create({ }, avatar: { borderRadius: 999, - marginRight: 10, - marginLeft: 8, + marginRight: 12, }, notification: { flexDirection: 'row', -- cgit 1.4.1