diff --git a/ios/Podfile.lock b/ios/Podfile.lock index bb8fd2df..63da9021 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -348,8 +348,6 @@ PODS: - React-Core - react-native-language-detection (0.2.2): - React - - react-native-menu (0.7.3): - - React - react-native-mmkv (2.7.0): - MMKV (>= 1.2.13) - React-Core @@ -561,7 +559,6 @@ DEPENDENCIES: - react-native-image-picker (from `../node_modules/react-native-image-picker`) - react-native-ios-context-menu (from `../node_modules/react-native-ios-context-menu`) - react-native-language-detection (from `../node_modules/react-native-language-detection`) - - "react-native-menu (from `../node_modules/@react-native-menu/menu`)" - react-native-mmkv (from `../node_modules/react-native-mmkv`) - "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)" - react-native-pager-view (from `../node_modules/react-native-pager-view`) @@ -702,8 +699,6 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native-ios-context-menu" react-native-language-detection: :path: "../node_modules/react-native-language-detection" - react-native-menu: - :path: "../node_modules/@react-native-menu/menu" react-native-mmkv: :path: "../node_modules/react-native-mmkv" react-native-netinfo: @@ -818,7 +813,6 @@ SPEC CHECKSUMS: react-native-image-picker: a5dddebb4d2955ac4712a4ed66b00a85f62a63ac react-native-ios-context-menu: e529171ba760a1af7f2ef0729f5a7f4d226171c5 react-native-language-detection: f414937fa715108ab50a6269a3de0bcb95e4ceb0 - react-native-menu: 9d7d6f819cc7fa14a15cf86888c53f3240d86f1b react-native-mmkv: a2a40a0458bdbc9d43c4e7752ecfc5e3a87b66dd react-native-netinfo: 2517ad504b3d303e90d7a431b0fcaef76d207983 react-native-pager-view: b58cb9e9f42f64e50cab3040815772c1d119a2e2 diff --git a/package.json b/package.json index 1b68bbee..fd8d3792 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,6 @@ "react-native-svg": "^13.8.0", "react-native-swipe-list-view": "^3.2.9", "react-native-tab-view": "^3.4.0", - "react-redux": "^8.0.5", "rn-placeholder": "^3.0.3", "url-parse": "^1.5.10", "zeego": "^1.0.2" diff --git a/react-native.config.js b/react-native.config.js index 541747c5..82d5a886 100644 --- a/react-native.config.js +++ b/react-native.config.js @@ -4,6 +4,16 @@ module.exports = { platforms: { ios: null } + }, + '@react-native-menu/menu': { + platforms: { + ios: null + } + }, + 'react-native-ios-context-menu': { + platforms: { + android: null + } } } } diff --git a/src/components/Emojis/List.tsx b/src/components/Emojis/List.tsx index 3d69205b..15286226 100644 --- a/src/components/Emojis/List.tsx +++ b/src/components/Emojis/List.tsx @@ -249,7 +249,6 @@ const EmojisList = () => { )} renderItem={listItem} - windowSize={4} contentContainerStyle={{ paddingHorizontal: StyleConstants.Spacing.Global.PagePadding, minHeight: 32 * 2 + StyleConstants.Spacing.M * 3 diff --git a/src/components/Timeline/index.tsx b/src/components/Timeline/index.tsx index 84346e3b..e1a3521d 100644 --- a/src/components/Timeline/index.tsx +++ b/src/components/Timeline/index.tsx @@ -251,13 +251,12 @@ const Timeline: React.FC = ({ ref={customFLRef || flRef} scrollEventThrottle={16} onScroll={onScroll} - windowSize={5} data={flattenPages(data)} {...(customProps?.renderItem ? { renderItem: customProps.renderItem } : { renderItem: ({ item }) => })} initialNumToRender={3} - maxToRenderPerBatch={3} + maxToRenderPerBatch={2} onEndReached={() => !disableInfinity && !isFetchingNextPage && fetchNextPage()} onEndReachedThreshold={0.75} ListFooterComponent={ diff --git a/src/i18n/index.ts b/src/i18n/index.ts index 99112e5d..afddb696 100644 --- a/src/i18n/index.ts +++ b/src/i18n/index.ts @@ -96,7 +96,7 @@ import '@formatjs/intl-relativetimeformat/locale-data/zh-Hant' i18n.use(initReactI18next).init({ lng: 'en', - fallbackLng: 'en', + fallbackLng: { nb: ['no'], nn: ['no'], default: ['en'] }, ns: ['common'], defaultNS: 'common', diff --git a/src/screens/Tabs/Shared/Toot.tsx b/src/screens/Tabs/Shared/Toot.tsx index 8c6fadc8..1e761ee2 100644 --- a/src/screens/Tabs/Shared/Toot.tsx +++ b/src/screens/Tabs/Shared/Toot.tsx @@ -284,7 +284,6 @@ const TabSharedToot: React.FC> = ({ return ( { diff --git a/src/screens/Tabs/Shared/Users.tsx b/src/screens/Tabs/Shared/Users.tsx index eeb9d9bf..13cfcd9b 100644 --- a/src/screens/Tabs/Shared/Users.tsx +++ b/src/screens/Tabs/Shared/Users.tsx @@ -36,7 +36,6 @@ const TabSharedUsers: React.FC> = return ( =0.59" - redux: ^4 - peerDependenciesMeta: - "@types/react": - optional: true - "@types/react-dom": - optional: true - react-dom: - optional: true - react-native: - optional: true - redux: - optional: true - checksum: a108f4f7ead6ac005e656d46051474a2bbdb31ede481bbbb3d8d779c1a35e1940b8655577cc5021313411864d305f67fc719aa48d6e5ed8288cf9cbe8b7042e4 - languageName: node - linkType: hard - "react-refresh@npm:^0.4.0": version: 0.4.3 resolution: "react-refresh@npm:0.4.3" @@ -11642,7 +11603,6 @@ __metadata: react-native-svg: ^13.8.0 react-native-swipe-list-view: ^3.2.9 react-native-tab-view: ^3.4.0 - react-redux: ^8.0.5 rn-placeholder: ^3.0.3 typescript: ^4.9.5 url-parse: ^1.5.10