Skip to content

Commit

Permalink
Fix status bar missing height (#9)
Browse files Browse the repository at this point in the history
* Fix missing status bar height

* 1.4.5
  • Loading branch information
razinj authored Oct 28, 2022
1 parent fd9963b commit 0299b6b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ android {
applicationId "com.razinj.context_launcher"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 8
versionName "1.4.4"
versionCode 9
versionName "1.4.5"
archivesBaseName = "context-launcher-v$versionName-$versionCode"
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "context_launcher",
"version": "1.4.4",
"version": "1.4.5",
"private": true,
"scripts": {
"android": "react-native run-android",
Expand Down
3 changes: 2 additions & 1 deletion src/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// React
import React, { useContext, useEffect, useState } from 'react'
// React Native
import { View, StyleSheet } from 'react-native'
import { View, StyleSheet, StatusBar } from 'react-native'
// Redux
import { useDispatch } from 'react-redux'
import { setAppsList } from './slices/appsList'
Expand Down Expand Up @@ -67,6 +67,7 @@ const styles = StyleSheet.create({
wrapper: {
flex: 1,
padding: 5,
marginTop: StatusBar.currentHeight,
justifyContent: 'flex-end',
},
})
Expand Down

0 comments on commit 0299b6b

Please sign in to comment.