diff --git a/apps/mobile/ios/Folo/Info.plist b/apps/mobile/ios/Folo/Info.plist index 10bceefc2..8b9264686 100644 --- a/apps/mobile/ios/Folo/Info.plist +++ b/apps/mobile/ios/Folo/Info.plist @@ -53,7 +53,7 @@ CFBundleVersion - 116 + 117 ITSAppUsesNonExemptEncryption LSApplicationCategoryType diff --git a/apps/mobile/src/modules/entry-list/EntryListContentSocial.tsx b/apps/mobile/src/modules/entry-list/EntryListContentSocial.tsx index 7e1bd29f1..33d35f0b6 100644 --- a/apps/mobile/src/modules/entry-list/EntryListContentSocial.tsx +++ b/apps/mobile/src/modules/entry-list/EntryListContentSocial.tsx @@ -5,9 +5,7 @@ import { useCallback, useImperativeHandle, useMemo, useRef } from "react" import { View } from "react-native" import { useActionLanguage, useGeneralSettingKey } from "@/src/atoms/settings/general" -import { useBottomTabBarHeight } from "@/src/components/layouts/tabbar/hooks" import { checkLanguage } from "@/src/lib/translation" -import { useHeaderHeight } from "@/src/modules/screen/hooks/useHeaderHeight" import { useEntries } from "../screen/atoms" import { TimelineSelectorList } from "../screen/TimelineSelectorList" @@ -55,17 +53,18 @@ export const EntryListContentSocial = ({ checkLanguage, }) - const headerHeight = useHeaderHeight() - const tabBarHeight = useBottomTabBarHeight() - // Show loading skeleton when entries are not ready and no data yet if (!isReady && (!entryIds || entryIds.length === 0)) { return ( - - {Array.from({ length: 5 }).map((_, index) => ( - - ))} - + {}} + isRefetching={false} + data={Array.from({ length: 5 }).map((_, index) => `skeleton-${index}`)} + keyExtractor={(id) => id} + estimatedItemSize={5} + renderItem={EntryItemSkeleton} + ItemSeparatorComponent={ItemSeparatorFullWidth} + /> ) }