about summary refs log tree commit diff
path: root/src/view/com/feeds/FeedSourceCard.tsx
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-05-13 18:26:58 -0700
committerGitHub <noreply@github.com>2024-05-13 18:26:58 -0700
commitfce65b74ff91e8b356569743e1c199a32772b516 (patch)
treea41419c189c9e683c14aaef399ffe5aceb1c4495 /src/view/com/feeds/FeedSourceCard.tsx
parent0776cd99e55e6b47274e52e36dfe58bb82ebec91 (diff)
downloadvoidsky-fce65b74ff91e8b356569743e1c199a32772b516.tar.zst
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
Diffstat (limited to 'src/view/com/feeds/FeedSourceCard.tsx')
-rw-r--r--src/view/com/feeds/FeedSourceCard.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/feeds/FeedSourceCard.tsx b/src/view/com/feeds/FeedSourceCard.tsx
index 9bf6ba6b6..3cef40360 100644
--- a/src/view/com/feeds/FeedSourceCard.tsx
+++ b/src/view/com/feeds/FeedSourceCard.tsx
@@ -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>
@@ -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}