diff --git a/apps/mobile/src/modules/feed/FollowFeed.tsx b/apps/mobile/src/modules/feed/FollowFeed.tsx index 6e7a2a94c..b4782c602 100644 --- a/apps/mobile/src/modules/feed/FollowFeed.tsx +++ b/apps/mobile/src/modules/feed/FollowFeed.tsx @@ -78,7 +78,7 @@ function FollowImpl(props: { feedId: string; defaultView?: FeedViewType }) { const { t } = useTranslation() const { t: tCommon } = useTranslation("common") const textLabelColor = useColor("label") - const { feedId: id, defaultView } = props + const { feedId: id, defaultView = FeedViewType.Articles } = props const feed = useFeedById(id) const subscription = useSubscriptionByFeedId(feed?.id) const isSubscribed = !!subscription @@ -89,7 +89,7 @@ function FollowImpl(props: { feedId: string; defaultView?: FeedViewType }) { isPrivate: subscription?.isPrivate ?? undefined, hideFromTimeline: subscription?.hideFromTimeline ?? undefined, title: subscription?.title ?? undefined, - view: subscription?.view ?? defaultView ?? FeedViewType.Articles, + view: subscription?.view ?? defaultView, }, }) useEffect(() => { @@ -290,7 +290,7 @@ function FollowImpl(props: { feedId: string; defaultView?: FeedViewType }) { name="view" control={form.control} render={({ field: { onChange, value } }) => ( - + )} />