diff --git a/apps/mobile/src/screens/(modal)/_layout.tsx b/apps/mobile/src/screens/(modal)/_layout.tsx index f1360f5a3..488c53af4 100644 --- a/apps/mobile/src/screens/(modal)/_layout.tsx +++ b/apps/mobile/src/screens/(modal)/_layout.tsx @@ -15,6 +15,10 @@ export default function ModalLayout() { title: "RSSHub Form", }} /> + ) } diff --git a/apps/mobile/src/screens/(modal)/loading.tsx b/apps/mobile/src/screens/(modal)/loading.tsx new file mode 100644 index 000000000..cd4eb5eff --- /dev/null +++ b/apps/mobile/src/screens/(modal)/loading.tsx @@ -0,0 +1,12 @@ +import { router } from "expo-router" +import { Text, TouchableOpacity, View } from "react-native" + +export default function Loading() { + return ( + + router.back()}> + Loading... + + + ) +} diff --git a/apps/mobile/src/screens/(stack)/(tabs)/_layout.tsx b/apps/mobile/src/screens/(stack)/(tabs)/_layout.tsx index c263422ac..021e956ea 100644 --- a/apps/mobile/src/screens/(stack)/(tabs)/_layout.tsx +++ b/apps/mobile/src/screens/(stack)/(tabs)/_layout.tsx @@ -1,6 +1,6 @@ import { FeedViewType } from "@follow/constants" import { PlatformPressable } from "@react-navigation/elements/src/PlatformPressable" -import { Tabs } from "expo-router" +import { router, Tabs } from "expo-router" import { View } from "react-native" import { Gesture, GestureDetector } from "react-native-gesture-handler" import { runOnJS } from "react-native-reanimated" @@ -19,6 +19,12 @@ const doubleTap = Gesture.Tap() runOnJS(setCurrentView)(FeedViewType.Articles) }) +const fifthTap = Gesture.Tap() + .numberOfTaps(5) + .onStart(() => { + runOnJS(router.push)("/debug") + }) + export default function TabLayout() { return ( + + + + + ) + }, tabBarIcon: ({ color, focused }) => { const Icon = !focused ? Settings7CuteReIcon : Setting7CuteFi return diff --git a/apps/mobile/src/screens/_layout.tsx b/apps/mobile/src/screens/_layout.tsx index 7ff4611ba..fb24dff40 100644 --- a/apps/mobile/src/screens/_layout.tsx +++ b/apps/mobile/src/screens/_layout.tsx @@ -27,8 +27,7 @@ export default function RootLayout() { - {/* {__DEV__ && } */} - + {__DEV__ && } ) }