align the trash icon in the center in feed edit list (#4004)

* align the trash icon in the center

* align_center instead of align_start
This commit is contained in:
Hailey
2024-05-13 18:26:58 -07:00
committed by GitHub
parent 0776cd99e5
commit fce65b74ff
+2 -2
View File
@@ -206,7 +206,7 @@ export function FeedSourceCardLoaded({
} }
}} }}
key={feed.uri}> key={feed.uri}>
<View style={[styles.headerContainer, a.align_start]}> <View style={[styles.headerContainer, a.align_center]}>
<View style={[s.mr10]}> <View style={[s.mr10]}>
<UserAvatar type="algo" size={36} avatar={feed.avatar} /> <UserAvatar type="algo" size={36} avatar={feed.avatar} />
</View> </View>
@@ -224,7 +224,7 @@ export function FeedSourceCardLoaded({
</View> </View>
{showSaveBtn && ( {showSaveBtn && (
<View style={[s.justifyCenter]}> <View style={{alignSelf: 'center'}}>
<Pressable <Pressable
testID={`feed-${feed.displayName}-toggleSave`} testID={`feed-${feed.displayName}-toggleSave`}
disabled={isAddSavedFeedPending || isRemovePending} disabled={isAddSavedFeedPending || isRemovePending}