diff options
author | Eric Bailey <git@esb.lol> | 2023-11-30 15:40:49 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-30 13:40:49 -0800 |
commit | 76a3c66f54a3647527f51caf10327d8ccf1839a9 (patch) | |
tree | e2c64e7a1f6f4fd98ba0d3723e2b490c27f011aa /src/view/com/lists | |
parent | 47b0d36b7393442857d3f4cfafd88c43defe6b6c (diff) | |
download | voidsky-76a3c66f54a3647527f51caf10327d8ccf1839a9.tar.zst |
Eric/profile feeds list (#2049)
* Fix profile feedgens view * Fix profile lists view * Translate
Diffstat (limited to 'src/view/com/lists')
-rw-r--r-- | src/view/com/lists/ProfileLists.tsx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/view/com/lists/ProfileLists.tsx b/src/view/com/lists/ProfileLists.tsx index 63c23fcaf..95cf8fde6 100644 --- a/src/view/com/lists/ProfileLists.tsx +++ b/src/view/com/lists/ProfileLists.tsx @@ -1,6 +1,5 @@ import React, {MutableRefObject} from 'react' import { - ActivityIndicator, Dimensions, RefreshControl, StyleProp, @@ -23,6 +22,7 @@ import {Trans} from '@lingui/macro' import {cleanError} from '#/lib/strings/errors' import {useAnimatedScrollHandler} from 'react-native-reanimated' import {useTheme} from '#/lib/ThemeContext' +import {FeedLoadingPlaceholder} from '#/view/com/util/LoadingPlaceholder' const LOADING = {_reactKey: '__loading__'} const EMPTY = {_reactKey: '__empty__'} @@ -170,11 +170,7 @@ export const ProfileLists = React.forwardRef<SectionRef, ProfileListsProps>( /> ) } else if (item === LOADING) { - return ( - <View style={{padding: 20}}> - <ActivityIndicator /> - </View> - ) + return <FeedLoadingPlaceholder /> } return ( <ListCard @@ -226,6 +222,5 @@ export const ProfileLists = React.forwardRef<SectionRef, ProfileListsProps>( const styles = StyleSheet.create({ item: { paddingHorizontal: 18, - paddingVertical: 4, }, }) |