Update notifications
parent
23e7ae49d4
commit
8f55e3149e
|
@ -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,
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue