mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Add haptics and analytics
This commit is contained in:
@ -202,7 +202,7 @@ const Index: React.FC<Props> = ({ localCorrupt }) => {
|
||||
inactiveTintColor: localInstance ? theme.secondary : theme.disabled,
|
||||
showLabel: false
|
||||
}),
|
||||
[]
|
||||
[theme, localInstance]
|
||||
)
|
||||
const tabScreenLocalListeners = useCallback(
|
||||
() => ({
|
||||
@ -212,7 +212,7 @@ const Index: React.FC<Props> = ({ localCorrupt }) => {
|
||||
}
|
||||
}
|
||||
}),
|
||||
[]
|
||||
[localInstance]
|
||||
)
|
||||
const tabScreenComposeListeners = useCallback(
|
||||
({ navigation }) => ({
|
||||
@ -223,7 +223,7 @@ const Index: React.FC<Props> = ({ localCorrupt }) => {
|
||||
}
|
||||
}
|
||||
}),
|
||||
[]
|
||||
[localInstance]
|
||||
)
|
||||
const tabScreenComposeComponent = useCallback(() => null, [])
|
||||
const tabScreenNotificationsListeners = useCallback(
|
||||
@ -234,7 +234,7 @@ const Index: React.FC<Props> = ({ localCorrupt }) => {
|
||||
}
|
||||
}
|
||||
}),
|
||||
[]
|
||||
[localInstance]
|
||||
)
|
||||
const tabScreenNotificationsOptions = useMemo(
|
||||
() => ({
|
||||
@ -244,7 +244,7 @@ const Index: React.FC<Props> = ({ localCorrupt }) => {
|
||||
backgroundColor: theme.red
|
||||
}
|
||||
}),
|
||||
[]
|
||||
[theme, prevNotification]
|
||||
)
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user