about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-12-05 22:56:20 -0800
committerGitHub <noreply@github.com>2023-12-05 22:56:20 -0800
commit2571432875a8a7104f82b87a480e3650c6f32f6c (patch)
tree8c061325b25ccb7e0443d190a041adcb92702f79 /src
parent3107bb07c93646fa3324de619e369940f254f3d3 (diff)
downloadvoidsky-2571432875a8a7104f82b87a480e3650c6f32f6c.tar.zst
Disable react-native-screen freezing to test performance implications (#2109)
Diffstat (limited to 'src')
-rw-r--r--src/App.native.tsx2
-rw-r--r--src/App.web.tsx3
2 files changed, 0 insertions, 5 deletions
diff --git a/src/App.native.tsx b/src/App.native.tsx
index 8168f39d4..5ffbb6a82 100644
--- a/src/App.native.tsx
+++ b/src/App.native.tsx
@@ -6,7 +6,6 @@ import {RootSiblingParent} from 'react-native-root-siblings'
 import * as SplashScreen from 'expo-splash-screen'
 import {GestureHandlerRootView} from 'react-native-gesture-handler'
 import {QueryClientProvider} from '@tanstack/react-query'
-import {enableFreeze} from 'react-native-screens'
 
 import 'view/icons'
 
@@ -37,7 +36,6 @@ import {
 import {Provider as UnreadNotifsProvider} from 'state/queries/notifications/unread'
 import * as persisted from '#/state/persisted'
 
-enableFreeze(true)
 SplashScreen.preventAutoHideAsync()
 
 function InnerApp() {
diff --git a/src/App.web.tsx b/src/App.web.tsx
index 2558392a5..74702dca2 100644
--- a/src/App.web.tsx
+++ b/src/App.web.tsx
@@ -4,7 +4,6 @@ import React, {useState, useEffect} from 'react'
 import {QueryClientProvider} from '@tanstack/react-query'
 import {SafeAreaProvider} from 'react-native-safe-area-context'
 import {RootSiblingParent} from 'react-native-root-siblings'
-import {enableFreeze} from 'react-native-screens'
 
 import 'view/icons'
 
@@ -31,8 +30,6 @@ import {
 import {Provider as UnreadNotifsProvider} from 'state/queries/notifications/unread'
 import * as persisted from '#/state/persisted'
 
-enableFreeze(true)
-
 function InnerApp() {
   const {isInitialLoad, currentAccount} = useSession()
   const {resumeSession} = useSessionApi()