diff --git a/android/app/build.gradle b/android/app/build.gradle index 7fe23a6..2c27464 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -138,8 +138,8 @@ android { applicationId "com.razinj.context_launcher" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 7 - versionName "1.4.3" + versionCode 8 + versionName "1.4.4" archivesBaseName = "context-launcher-v$versionName-$versionCode" buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString() diff --git a/android/app/src/main/java/com/razinj/context_launcher/AppsModule.java b/android/app/src/main/java/com/razinj/context_launcher/AppsModule.java index d618c5b..3a0f85d 100644 --- a/android/app/src/main/java/com/razinj/context_launcher/AppsModule.java +++ b/android/app/src/main/java/com/razinj/context_launcher/AppsModule.java @@ -6,7 +6,6 @@ import android.content.IntentFilter; import android.content.pm.PackageInfo; import android.net.Uri; -import android.os.Build; import android.os.Bundle; import android.provider.Settings; diff --git a/package-lock.json b/package-lock.json index 2f8a89e..92965cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "context_launcher", - "version": "1.4.3", + "version": "1.4.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "context_launcher", - "version": "1.4.3", + "version": "1.4.4", "dependencies": { "@gorhom/bottom-sheet": "^4.4.3", "@react-native-async-storage/async-storage": "^1.17.10", diff --git a/package.json b/package.json index a7492c1..92b5343 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "context_launcher", - "version": "1.4.3", + "version": "1.4.4", "private": true, "scripts": { "android": "react-native run-android", diff --git a/src/App.tsx b/src/App.tsx index b8a6ec0..e81059f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,7 +1,7 @@ // React import React, { useEffect } from 'react' // React Native -import { StatusBar, useColorScheme } from 'react-native' +import { StatusBar } from 'react-native' // Redux import { PersistGate } from 'redux-persist/integration/react' import { Provider } from 'react-redux' @@ -18,12 +18,10 @@ import { persistor, store } from './store' import { GestureHandlerRootView } from 'react-native-gesture-handler' const App = () => { - const colorScheme = useColorScheme() - useEffect(() => { - if (!colorScheme) StatusBar.setBarStyle('default', true) - else StatusBar.setBarStyle(colorScheme === 'dark' ? 'light-content' : 'dark-content', true) - }, [colorScheme]) + StatusBar.setTranslucent(true) + StatusBar.setBackgroundColor('transparent', true) + }, []) return (