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:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user