mirror of
https://github.com/tooot-app/app
synced 2025-01-02 12:47:13 +01:00
Fix #736
This commit is contained in:
parent
ff14f086a7
commit
141d5916fd
@ -1 +1,2 @@
|
|||||||
Enjoy toooting! This version includes following improvements and fixes:
|
Enjoy toooting! This version includes following improvements and fixes:
|
||||||
|
- Fix poll notifications wrongly greyed out
|
@ -1 +1,2 @@
|
|||||||
toooting愉快!此版本包括以下改进和修复:
|
tooot-ing愉快!此版本包括以下改进和修复:
|
||||||
|
- 修复投票通知显示
|
@ -62,14 +62,16 @@ const TimelineNotifications: React.FC<Props> = ({ notification, queryKey }) => {
|
|||||||
|
|
||||||
<View
|
<View
|
||||||
style={{
|
style={{
|
||||||
opacity:
|
opacity: [
|
||||||
notification.type === 'follow' ||
|
'follow',
|
||||||
notification.type === 'follow_request' ||
|
'follow_request',
|
||||||
notification.type === 'mention' ||
|
'mention',
|
||||||
notification.type === 'status' ||
|
'status',
|
||||||
notification.type === 'admin.sign_up'
|
'poll',
|
||||||
? 1
|
'admin.sign_up'
|
||||||
: 0.5
|
].includes(notification.type)
|
||||||
|
? 1
|
||||||
|
: 0.5
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<View style={{ flex: 1, width: '100%', flexDirection: 'row' }}>
|
<View style={{ flex: 1, width: '100%', flexDirection: 'row' }}>
|
||||||
|
Loading…
Reference in New Issue
Block a user