diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-12-28 15:53:06 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-12-28 15:53:06 -0600 |
commit | 8f55e3149ec17dcbb39286670ff20729af1e9205 (patch) | |
tree | ab6087473002edf6829ef9a76b14598191ff1f36 /src | |
parent | 23e7ae49d46b39b7b66aa6413ed29eabd270cd1d (diff) | |
download | voidsky-8f55e3149ec17dcbb39286670ff20729af1e9205.tar.zst |
Update notifications
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/notifications/FeedItem.tsx | 16 | ||||
-rw-r--r-- | src/view/com/post/Post.tsx | 4 |
2 files changed, 5 insertions, 15 deletions
diff --git a/src/view/com/notifications/FeedItem.tsx b/src/view/com/notifications/FeedItem.tsx index c6b286cdb..86f43ba41 100644 --- a/src/view/com/notifications/FeedItem.tsx +++ b/src/view/com/notifications/FeedItem.tsx @@ -55,10 +55,7 @@ export const FeedItem = observer(function FeedItem({ <Post uri={item.uri} initView={item.additionalPost} - style={[ - styles.outerMinimal, - item.isRead ? undefined : styles.outerUnread, - ]} + style={[item.isRead ? undefined : styles.outerUnread]} /> </Link> ) @@ -222,15 +219,8 @@ const styles = StyleSheet.create({ outer: { backgroundColor: colors.white, padding: 10, - borderRadius: 6, - margin: 2, - marginBottom: 0, - }, - outerMinimal: { - backgroundColor: colors.white, - borderRadius: 6, - margin: 2, - marginBottom: 0, + borderTopWidth: 1, + borderTopColor: colors.gray2, }, outerUnread: { backgroundColor: colors.unreadNotifBg, diff --git a/src/view/com/post/Post.tsx b/src/view/com/post/Post.tsx index a058acf8e..8f2781ac2 100644 --- a/src/view/com/post/Post.tsx +++ b/src/view/com/post/Post.tsx @@ -205,10 +205,10 @@ export const Post = observer(function Post({ const styles = StyleSheet.create({ outer: { - marginTop: 1, - borderRadius: 6, backgroundColor: colors.white, padding: 10, + borderTopWidth: 1, + borderTopColor: colors.gray2, }, layout: { flexDirection: 'row', |