diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-07-09 10:14:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-09 00:14:30 -0700 |
commit | 07b028ee668afee13d878c8ff4c579276fd69f6c (patch) | |
tree | 5ca697be20c174fefefb7257be4cd42571896daa /src/components/Divider.tsx | |
parent | 1fcd313424c431b9a8ac48e7234d2dd52f6dcb6a (diff) | |
download | voidsky-07b028ee668afee13d878c8ff4c579276fd69f6c.tar.zst |
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
Diffstat (limited to 'src/components/Divider.tsx')
-rw-r--r-- | src/components/Divider.tsx | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/components/Divider.tsx b/src/components/Divider.tsx index e4891aacb..ec7a7356a 100644 --- a/src/components/Divider.tsx +++ b/src/components/Divider.tsx @@ -1,18 +1,11 @@ import {View} from 'react-native' -import {atoms as a, flatten, useTheme, ViewStyleProp} from '#/alf' +import {atoms as a, useTheme, type ViewStyleProp} from '#/alf' export function Divider({style}: ViewStyleProp) { const t = useTheme() return ( - <View - style={[ - a.w_full, - a.border_t, - t.atoms.border_contrast_low, - flatten(style), - ]} - /> + <View style={[a.w_full, a.border_t, t.atoms.border_contrast_low, style]} /> ) } |