diff options
Diffstat (limited to 'src/view/screens/SavedFeeds.tsx')
-rw-r--r-- | src/view/screens/SavedFeeds.tsx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/view/screens/SavedFeeds.tsx b/src/view/screens/SavedFeeds.tsx index ef76cdcb2..3402db2c1 100644 --- a/src/view/screens/SavedFeeds.tsx +++ b/src/view/screens/SavedFeeds.tsx @@ -32,7 +32,6 @@ import {NoFollowingFeed} from '#/screens/Feeds/NoFollowingFeed' import {NoSavedFeedsOfAnyType} from '#/screens/Feeds/NoSavedFeedsOfAnyType' import {atoms as a, useTheme} from '#/alf' import {FilterTimeline_Stroke2_Corner0_Rounded as FilterTimeline} from '#/components/icons/FilterTimeline' -import hairlineWidth = StyleSheet.hairlineWidth const HITSLOP_TOP = { top: 20, @@ -93,7 +92,8 @@ export function SavedFeeds({}: Props) { <ViewHeader title={_(msg`Edit My Feeds`)} showOnDesktop showBorder /> <ScrollView style={s.flex1} contentContainerStyle={[styles.noBorder]}> {noSavedFeedsOfAnyType && ( - <View style={[pal.border, {borderBottomWidth: hairlineWidth}]}> + <View + style={[pal.border, {borderBottomWidth: StyleSheet.hairlineWidth}]}> <NoSavedFeedsOfAnyType /> </View> )} @@ -135,7 +135,8 @@ export function SavedFeeds({}: Props) { )} {noFollowingFeed && ( - <View style={[pal.border, {borderBottomWidth: hairlineWidth}]}> + <View + style={[pal.border, {borderBottomWidth: StyleSheet.hairlineWidth}]}> <NoFollowingFeed /> </View> )} @@ -437,12 +438,12 @@ const styles = StyleSheet.create({ paddingHorizontal: 14, paddingTop: 20, paddingBottom: 10, - borderBottomWidth: hairlineWidth, + borderBottomWidth: StyleSheet.hairlineWidth, }, itemContainer: { flexDirection: 'row', alignItems: 'center', - borderBottomWidth: hairlineWidth, + borderBottomWidth: StyleSheet.hairlineWidth, }, footerText: { paddingHorizontal: 26, |