get rid of s.likeColor
This commit is contained in:
@@ -33,7 +33,6 @@ import {forceLTR} from '#/lib/strings/bidi'
|
|||||||
import {sanitizeDisplayName} from '#/lib/strings/display-names'
|
import {sanitizeDisplayName} from '#/lib/strings/display-names'
|
||||||
import {sanitizeHandle} from '#/lib/strings/handles'
|
import {sanitizeHandle} from '#/lib/strings/handles'
|
||||||
import {niceDate} from '#/lib/strings/time'
|
import {niceDate} from '#/lib/strings/time'
|
||||||
import {s} from '#/lib/styles'
|
|
||||||
import {logger} from '#/logger'
|
import {logger} from '#/logger'
|
||||||
import {useProfileShadow} from '#/state/cache/profile-shadow'
|
import {useProfileShadow} from '#/state/cache/profile-shadow'
|
||||||
import {type FeedNotification} from '#/state/queries/notifications/feed'
|
import {type FeedNotification} from '#/state/queries/notifications/feed'
|
||||||
@@ -268,15 +267,7 @@ let NotificationFeedItem = ({
|
|||||||
|
|
||||||
let a11yLabel = ''
|
let a11yLabel = ''
|
||||||
let notificationContent: React.ReactElement<any>
|
let notificationContent: React.ReactElement<any>
|
||||||
let icon = (
|
let icon = <HeartIconFilled size="xl" fill={t.palette.pink} />
|
||||||
<HeartIconFilled
|
|
||||||
size="xl"
|
|
||||||
style={[
|
|
||||||
s.likeColor,
|
|
||||||
// {position: 'relative', top: -4}
|
|
||||||
]}
|
|
||||||
/>
|
|
||||||
)
|
|
||||||
|
|
||||||
if (item.type === 'post-like') {
|
if (item.type === 'post-like') {
|
||||||
a11yLabel = hasMultipleAuthors
|
a11yLabel = hasMultipleAuthors
|
||||||
@@ -952,7 +943,7 @@ function CondensedAuthorsList({
|
|||||||
onPress={onToggleAuthorsExpanded}>
|
onPress={onToggleAuthorsExpanded}>
|
||||||
<View style={[a.flex_row, a.align_center]}>
|
<View style={[a.flex_row, a.align_center]}>
|
||||||
{authors.slice(0, MAX_AUTHORS).map(author => (
|
{authors.slice(0, MAX_AUTHORS).map(author => (
|
||||||
<View key={author.href} style={s.mr5}>
|
<View key={author.href} style={{marginRight: 5}}>
|
||||||
<PreviewableUserAvatar
|
<PreviewableUserAvatar
|
||||||
size={35}
|
size={35}
|
||||||
profile={author.profile}
|
profile={author.profile}
|
||||||
|
|||||||
Reference in New Issue
Block a user