mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-01-11 20:10:25 +00:00
fixed the implicit any type errors AppNavigator.tsx
This commit is contained in:
parent
79213ad573
commit
b165c3223d
1 changed files with 10 additions and 10 deletions
|
|
@ -918,8 +918,8 @@ const MainTabs = () => {
|
|||
tabBarIcon: () => ({ sfSymbol: 'house' }),
|
||||
freezeOnBlur: true,
|
||||
}}
|
||||
listeners={({ navigation }) => ({
|
||||
tabPress: (e) => {
|
||||
listeners={({ navigation }: { navigation: any }) => ({
|
||||
tabPress: (e: any) => {
|
||||
if (navigation.isFocused()) {
|
||||
emitScrollToTop('Home');
|
||||
}
|
||||
|
|
@ -933,8 +933,8 @@ const MainTabs = () => {
|
|||
title: 'Library',
|
||||
tabBarIcon: () => ({ sfSymbol: 'heart' }),
|
||||
}}
|
||||
listeners={({ navigation }) => ({
|
||||
tabPress: (e) => {
|
||||
listeners={({ navigation }: { navigation: any }) => ({
|
||||
tabPress: (e: any) => {
|
||||
if (navigation.isFocused()) {
|
||||
emitScrollToTop('Library');
|
||||
}
|
||||
|
|
@ -948,8 +948,8 @@ const MainTabs = () => {
|
|||
title: 'Search',
|
||||
tabBarIcon: () => ({ sfSymbol: 'magnifyingglass' }),
|
||||
}}
|
||||
listeners={({ navigation }) => ({
|
||||
tabPress: (e) => {
|
||||
listeners={({ navigation }: { navigation: any }) => ({
|
||||
tabPress: (e: any) => {
|
||||
if (navigation.isFocused()) {
|
||||
emitScrollToTop('Search');
|
||||
}
|
||||
|
|
@ -964,8 +964,8 @@ const MainTabs = () => {
|
|||
title: 'Downloads',
|
||||
tabBarIcon: () => ({ sfSymbol: 'arrow.down.circle' }),
|
||||
}}
|
||||
listeners={({ navigation }) => ({
|
||||
tabPress: (e) => {
|
||||
listeners={({ navigation }: { navigation: any }) => ({
|
||||
tabPress: (e: any) => {
|
||||
if (navigation.isFocused()) {
|
||||
emitScrollToTop('Downloads');
|
||||
}
|
||||
|
|
@ -980,8 +980,8 @@ const MainTabs = () => {
|
|||
title: 'Settings',
|
||||
tabBarIcon: () => ({ sfSymbol: 'gear' }),
|
||||
}}
|
||||
listeners={({ navigation }) => ({
|
||||
tabPress: (e) => {
|
||||
listeners={({ navigation }: { navigation: any }) => ({
|
||||
tabPress: (e: any) => {
|
||||
if (navigation.isFocused()) {
|
||||
emitScrollToTop('Settings');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue