Update notifications
parent
23e7ae49d4
commit
8f55e3149e
|
@ -55,10 +55,7 @@ export const FeedItem = observer(function FeedItem({
|
||||||
<Post
|
<Post
|
||||||
uri={item.uri}
|
uri={item.uri}
|
||||||
initView={item.additionalPost}
|
initView={item.additionalPost}
|
||||||
style={[
|
style={[item.isRead ? undefined : styles.outerUnread]}
|
||||||
styles.outerMinimal,
|
|
||||||
item.isRead ? undefined : styles.outerUnread,
|
|
||||||
]}
|
|
||||||
/>
|
/>
|
||||||
</Link>
|
</Link>
|
||||||
)
|
)
|
||||||
|
@ -222,15 +219,8 @@ const styles = StyleSheet.create({
|
||||||
outer: {
|
outer: {
|
||||||
backgroundColor: colors.white,
|
backgroundColor: colors.white,
|
||||||
padding: 10,
|
padding: 10,
|
||||||
borderRadius: 6,
|
borderTopWidth: 1,
|
||||||
margin: 2,
|
borderTopColor: colors.gray2,
|
||||||
marginBottom: 0,
|
|
||||||
},
|
|
||||||
outerMinimal: {
|
|
||||||
backgroundColor: colors.white,
|
|
||||||
borderRadius: 6,
|
|
||||||
margin: 2,
|
|
||||||
marginBottom: 0,
|
|
||||||
},
|
},
|
||||||
outerUnread: {
|
outerUnread: {
|
||||||
backgroundColor: colors.unreadNotifBg,
|
backgroundColor: colors.unreadNotifBg,
|
||||||
|
|
|
@ -205,10 +205,10 @@ export const Post = observer(function Post({
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
outer: {
|
outer: {
|
||||||
marginTop: 1,
|
|
||||||
borderRadius: 6,
|
|
||||||
backgroundColor: colors.white,
|
backgroundColor: colors.white,
|
||||||
padding: 10,
|
padding: 10,
|
||||||
|
borderTopWidth: 1,
|
||||||
|
borderTopColor: colors.gray2,
|
||||||
},
|
},
|
||||||
layout: {
|
layout: {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
|
|
Loading…
Reference in New Issue