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
zio/stable
Hailey 2024-05-13 18:26:58 -07:00 committed by GitHub
parent 0776cd99e5
commit fce65b74ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

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}