Unverified Commit 92b55e18 authored by Tankred Hase's avatar Tankred Hase Committed by GitHub

Merge pull request #1110 from lightninglabs/dev/status-bar-android

Fix status-bar height for Android
parents d4d973ab d3973946
......@@ -6,6 +6,7 @@ import {
KeyboardAvoidingView,
ViewPropTypes,
Platform,
StatusBar,
} from 'react-native';
import PropTypes from 'prop-types';
import BackgroundImage from './background-image';
......@@ -79,7 +80,7 @@ SplitBackground.propTypes = {
const wrapperStyles = StyleSheet.create({
safe: {
flex: 1,
paddingTop: Platform.OS === 'android' ? 25 : 0,
paddingTop: Platform.OS === 'android' ? StatusBar.currentHeight : 0,
},
avoid: {
flex: 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment