replace fontawesome in LoadMoreRetryBtn

This commit is contained in:
Samuel Newman
2026-05-18 16:48:14 +03:00
parent 169d05a62a
commit 0d2f33ffb4
+2 -9
View File
@@ -1,10 +1,7 @@
import {StyleSheet} from 'react-native'
import {
FontAwesomeIcon,
type FontAwesomeIconStyle,
} from '@fortawesome/react-native-fontawesome'
import {usePalette} from '#/lib/hooks/usePalette'
import {ArrowRotateCounterClockwise_Stroke2_Corner0_Rounded as ArrowRotateIcon} from '#/components/icons/ArrowRotate'
import {Button} from './forms/Button'
import {Text} from './text/Text'
@@ -18,11 +15,7 @@ export function LoadMoreRetryBtn({
const pal = usePalette('default')
return (
<Button type="default-light" onPress={onPress} style={styles.loadMoreRetry}>
<FontAwesomeIcon
icon="arrow-rotate-left"
style={pal.textLight as FontAwesomeIconStyle}
size={18}
/>
<ArrowRotateIcon width={18} style={pal.textLight} />
<Text style={[pal.textLight, styles.label]}>{label}</Text>
</Button>
)