Skip to content

Commit

Permalink
fix: NavigationHeaderBackButton
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Feb 28, 2025
1 parent d45ba9e commit 861ae35
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions apps/mobile/src/modules/screen/TimelineSelectorProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import { useLocalSearchParams } from "expo-router"
import { router, useLocalSearchParams } from "expo-router"
import { useMemo } from "react"
import { Share, useAnimatedValue, View } from "react-native"
import { Share, TouchableOpacity, useAnimatedValue, View } from "react-native"
import { useColor } from "react-native-uikit-colors"

import { DefaultHeaderBackButton } from "@/src/components/layouts/header/NavigationHeader"
import { NavigationContext } from "@/src/components/layouts/views/NavigationContext"
import {
NavigationBlurEffectHeader,
NavigationHeaderBackButton,
} from "@/src/components/layouts/views/SafeNavigationScrollView"
import { NavigationBlurEffectHeader } from "@/src/components/layouts/views/SafeNavigationScrollView"
import { UIBarButton } from "@/src/components/ui/button/UIBarButton"
import { TIMELINE_VIEW_SELECTOR_HEIGHT } from "@/src/constants/ui"
import { Share3CuteReIcon } from "@/src/icons/share_3_cute_re"
Expand Down Expand Up @@ -46,7 +44,9 @@ export function TimelineSelectorProvider({ children }: { children: React.ReactNo
)
: () => (
<View style={{ width: HEADER_ACTIONS_GROUP_WIDTH }}>
<NavigationHeaderBackButton />
<TouchableOpacity hitSlop={10} onPress={() => router.back()}>
<DefaultHeaderBackButton canGoBack={true} />
</TouchableOpacity>
</View>
),
[isTimeline, isSubscriptions],
Expand Down
4 changes: 2 additions & 2 deletions packages/shared/src/hono.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14684,8 +14684,6 @@ declare const _routes: hono_hono_base.HonoBase<Env, ({
}[] | null | undefined;
} | null | undefined;
};
view: number;
from: string[] | null;
feeds: {
id: string;
type: "feed";
Expand Down Expand Up @@ -14717,6 +14715,8 @@ declare const _routes: hono_hono_base.HonoBase<Env, ({
}[] | null | undefined;
};
read: boolean | null;
view?: number | undefined;
from?: string[] | undefined;
collections?: {
createdAt: string;
} | undefined;
Expand Down

0 comments on commit 861ae35

Please sign in to comment.