diff --git a/App.tsx b/App.tsx index b469204..1f5b17f 100644 --- a/App.tsx +++ b/App.tsx @@ -3,7 +3,7 @@ import 'react-native-gesture-handler'; import {AppRegistry, Platform} from 'react-native'; import {useState} from 'react'; -import {NavigationContainer, DefaultTheme} from '@react-navigation/native'; +import {NavigationContainer } from '@react-navigation/native'; import {createNativeStackNavigator} from '@react-navigation/native-stack'; import {Provider} from 'react-redux'; import {store, persistor} from './src/redux/store'; @@ -14,7 +14,6 @@ import ClipPage from './src/pages/Clips'; import IntroPage from './src/pages/Intro'; import {StatusBar} from 'expo-status-bar'; import {Material3Dracula, ReactNavigationDracula} from './src/themes'; -import {PixelRatio, useWindowDimensions} from 'react-native'; import {SafeAreaProvider} from 'react-native-safe-area-context'; const Stack = createNativeStackNavigator(); import {PersistGate} from 'redux-persist/integration/react'; @@ -23,9 +22,6 @@ function App() { const [token, setToken] = useState(store.getState().user.token); const [username, setUsername] = useState(''); - const {height, width} = useWindowDimensions(); - console.log(width); - console.log(PixelRatio.get()); store.subscribe(() => { let newToken = store.getState().user.token; diff --git a/bun.lockb b/bun.lockb index d0f314b..5cebe06 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 9ad5ad0..b9a83ec 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "react-native": "0.73.6", "react-native-android-notification-listener": "^5.0.1", "react-native-async-storage": "^0.0.1", + "react-native-background-actions": "^3.0.1", "react-native-drawer-layout": "^3.3.0", "react-native-gesture-handler": "~2.14.0", "react-native-pager-view": "6.2.3",