This commit is contained in:
xmflsct 2023-05-15 21:45:00 +02:00
parent ff14f086a7
commit 141d5916fd
No known key found for this signature in database
GPG Key ID: 078A93AB607D85E0
3 changed files with 13 additions and 9 deletions

View File

@ -1 +1,2 @@
Enjoy toooting! This version includes following improvements and fixes:
- Fix poll notifications wrongly greyed out

View File

@ -1 +1,2 @@
toooting愉快此版本包括以下改进和修复
tooot-ing愉快此版本包括以下改进和修复
- 修复投票通知显示

View File

@ -62,14 +62,16 @@ const TimelineNotifications: React.FC<Props> = ({ notification, queryKey }) => {
<View
style={{
opacity:
notification.type === 'follow' ||
notification.type === 'follow_request' ||
notification.type === 'mention' ||
notification.type === 'status' ||
notification.type === 'admin.sign_up'
? 1
: 0.5
opacity: [
'follow',
'follow_request',
'mention',
'status',
'poll',
'admin.sign_up'
].includes(notification.type)
? 1
: 0.5
}}
>
<View style={{ flex: 1, width: '100%', flexDirection: 'row' }}>