mirror of https://github.com/tooot-app/app
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}
|
content={content}
|
||||||
emojis={account.emojis}
|
emojis={account.emojis}
|
||||||
size='S'
|
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':
|
case 'Tab-Me':
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<ContextMenu.Root onOpenChange={() => haptics('Light')}>
|
<ContextMenu.Root>
|
||||||
<ContextMenu.Trigger>
|
<ContextMenu.Trigger>
|
||||||
<View
|
<View
|
||||||
key={avatarStatic}
|
key={avatarStatic}
|
||||||
|
@ -112,7 +112,6 @@ const ScreenTabs = () => {
|
||||||
onValueChange={async () => {
|
onValueChange={async () => {
|
||||||
if (!account.active) {
|
if (!account.active) {
|
||||||
await setAccount(account.key)
|
await setAccount(account.key)
|
||||||
haptics('Light')
|
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
@ -144,17 +143,7 @@ const ScreenTabs = () => {
|
||||||
{() => null}
|
{() => null}
|
||||||
</Tab.Screen>
|
</Tab.Screen>
|
||||||
<Tab.Screen name='Tab-Notifications' component={TabNotifications} />
|
<Tab.Screen name='Tab-Notifications' component={TabNotifications} />
|
||||||
<Tab.Screen
|
<Tab.Screen name='Tab-Me' component={TabMe} />
|
||||||
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.Navigator>
|
</Tab.Navigator>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue