Update notifications

zio/stable
Paul Frazee 2022-12-28 15:53:06 -06:00
parent 23e7ae49d4
commit 8f55e3149e
2 changed files with 5 additions and 15 deletions

View File

@ -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,

View File

@ -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',