Skip to content

Commit 7e410c8

Browse files
committed
fixed: spinner style bug
1 parent e9cd5c6 commit 7e410c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/common/Spinner.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const Spinner = ({
1515
const { theme } = useTheme()
1616

1717
return (
18-
<View style={[SylCommon.Layout.fill, styles.containerStyle(theme), style]}>
18+
<View style={[styles.containerStyle(theme), style]}>
1919
<ActivityIndicator size={size} color={theme.colors.secondary} />
2020
<View style={{ justifyContent: 'center', alignItems: 'center' }}>
2121
<Text adjustsFontSizeToFit={true} style={styles.textStyle(theme)}>
@@ -30,6 +30,7 @@ export { Spinner }
3030

3131
const styles = {
3232
containerStyle: (_theme: ITheme): ViewStyle => ({
33+
marginVertical: _theme.spacing.large,
3334
justifyContent: 'center',
3435
alignItems: 'center',
3536
flexDirection: 'column'

src/screens/components/topic/TopicCardList.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ const TopicCardList: React.FC<TopicCardListProps> = ({
8888
numColumns={1}
8989
horizontal={false}
9090
key={'ONE COLUMN'}
91-
ListFooterComponentStyle={[]}
9291
maxToRenderPerBatch={10}
9392
initialNumToRender={10}
9493
ItemSeparatorComponent={renderItemSeparator}

0 commit comments

Comments
 (0)