Fix visuals and haptics

This commit is contained in:
xmflsct 2023-05-17 13:39:55 +02:00
parent c1e9c738c5
commit a940ed4cf3
No known key found for this signature in database
GPG Key ID: 078A93AB607D85E0
2 changed files with 3 additions and 14 deletions

View File

@ -35,7 +35,7 @@ const TimelineActioned: React.FC<Props> = ({ action, isNotification, ...rest })
content={content}
emojis={account.emojis}
size='S'
style={{ color: action === 'admin.report' ? colors.red : colors.primaryDefault }}
style={{ flex: 1, color: action === 'admin.report' ? colors.red : colors.primaryDefault }}
/>
)

View File

@ -59,7 +59,7 @@ const ScreenTabs = () => {
case 'Tab-Me':
return (
<>
<ContextMenu.Root onOpenChange={() => haptics('Light')}>
<ContextMenu.Root>
<ContextMenu.Trigger>
<View
key={avatarStatic}
@ -112,7 +112,6 @@ const ScreenTabs = () => {
onValueChange={async () => {
if (!account.active) {
await setAccount(account.key)
haptics('Light')
}
}}
>
@ -144,17 +143,7 @@ const ScreenTabs = () => {
{() => null}
</Tab.Screen>
<Tab.Screen name='Tab-Notifications' component={TabNotifications} />
<Tab.Screen
name='Tab-Me'
component={TabMe}
// listeners={({ navigation }) => ({
// tabLongPress: () => {
// haptics('Light')
// navigation.navigate('Tab-Me', { screen: 'Tab-Me-Root' })
// navigation.navigate('Tab-Me', { screen: 'Tab-Me-Switch' })
// }
// })}
/>
<Tab.Screen name='Tab-Me' component={TabMe} />
</Tab.Navigator>
)
}