mirror of
https://github.com/tooot-app/app
synced 2025-01-18 04:09:17 +01:00
Fix visuals and haptics
This commit is contained in:
parent
c1e9c738c5
commit
a940ed4cf3
@ -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 }}
|
||||
/>
|
||||
)
|
||||
|
||||
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user