Skip to content

Commit

Permalink
align the trash icon in the center in feed edit list (#4004)
Browse files Browse the repository at this point in the history
* align the trash icon in the center

* align_center instead of align_start
  • Loading branch information
haileyok authored May 14, 2024
1 parent 0776cd9 commit fce65b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/view/com/feeds/FeedSourceCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export function FeedSourceCardLoaded({
}
}}
key={feed.uri}>
<View style={[styles.headerContainer, a.align_start]}>
<View style={[styles.headerContainer, a.align_center]}>
<View style={[s.mr10]}>
<UserAvatar type="algo" size={36} avatar={feed.avatar} />
</View>
Expand All @@ -224,7 +224,7 @@ export function FeedSourceCardLoaded({
</View>

{showSaveBtn && (
<View style={[s.justifyCenter]}>
<View style={{alignSelf: 'center'}}>
<Pressable
testID={`feed-${feed.displayName}-toggleSave`}
disabled={isAddSavedFeedPending || isRemovePending}
Expand Down

0 comments on commit fce65b7

Please sign in to comment.