Skip to content

Commit ab27ab8

Browse files
authored
fix(mobile): can not mark view as read (#2909)
1 parent 11b5f7a commit ab27ab8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

apps/mobile/src/modules/dialogs/MarkAllAsReadDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { DialogComponent } from "@/src/lib/dialog"
55
import { Dialog } from "@/src/lib/dialog"
66
import { unreadSyncService } from "@/src/store/unread/store"
77

8-
import { useSelectedView } from "../feed-drawer/atoms"
8+
import { useSelectedView } from "../screen/atoms"
99

1010
export const MarkAllAsReadDialog: DialogComponent = () => {
1111
const selectedView = useSelectedView()

apps/mobile/src/modules/feed-drawer/atoms.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable unused-imports/no-unused-vars */
12
import { FeedViewType } from "@follow/constants"
23
import { jotaiStore } from "@follow/utils"
34
import { atom, useAtom, useAtomValue, useSetAtom } from "jotai"
@@ -108,7 +109,7 @@ export const useEntryListContext = () => {
108109
return useContext(EntryListContext)
109110
}
110111

111-
export function useSelectedView() {
112+
function useSelectedView() {
112113
const selectedTimeLine = useAtomValue(selectedTimelineAtom)
113114
const selectedFeed = useAtomValue(selectedFeedAtom)
114115

0 commit comments

Comments
 (0)