From 169d05a62a4b9872cf3b2f3094f3e567fc6a6af2 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 18 May 2026 16:48:02 +0300 Subject: [PATCH] convert FollowingEndOfFeed to ALF Button --- src/view/com/posts/FollowingEndOfFeed.tsx | 71 +++++++++-------------- 1 file changed, 29 insertions(+), 42 deletions(-) diff --git a/src/view/com/posts/FollowingEndOfFeed.tsx b/src/view/com/posts/FollowingEndOfFeed.tsx index 1104142094..a2f06f283c 100644 --- a/src/view/com/posts/FollowingEndOfFeed.tsx +++ b/src/view/com/posts/FollowingEndOfFeed.tsx @@ -1,22 +1,20 @@ import {useCallback} from 'react' import {Dimensions, StyleSheet, View} from 'react-native' -import { - FontAwesomeIcon, - type FontAwesomeIconStyle, -} from '@fortawesome/react-native-fontawesome' -import {Trans} from '@lingui/react/macro' +import {Trans, useLingui} from '@lingui/react/macro' import {useNavigation} from '@react-navigation/native' import {usePalette} from '#/lib/hooks/usePalette' import {type NavigationProp} from '#/lib/routes/types' import {s} from '#/lib/styles' +import {atoms as a} from '#/alf' +import {Button, ButtonIcon, ButtonText} from '#/components/Button' +import {ChevronRight_Stroke2_Corner0_Rounded as ChevronRightIcon} from '#/components/icons/Chevron' import {IS_WEB} from '#/env' -import {Button} from '../util/forms/Button' import {Text} from '../util/text/Text' export function FollowingEndOfFeed() { + const {t: l} = useLingui() const pal = usePalette('default') - const palInverted = usePalette('inverted') const navigation = useNavigation() const onPressFindAccounts = useCallback(() => { @@ -46,36 +44,34 @@ export function FollowingEndOfFeed() { follow. - + + + You can also discover new Custom Feeds to follow. - + + + ) @@ -93,13 +89,4 @@ const styles = StyleSheet.create({ width: '100%', maxWidth: 460, }, - emptyBtn: { - marginVertical: 20, - flexDirection: 'row', - alignItems: 'center', - justifyContent: 'space-between', - paddingVertical: 18, - paddingHorizontal: 24, - borderRadius: 30, - }, })