Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 09f029b

Browse files
authored
Merge pull request #1101 from lightninglabs/dev/fix-dropdown-android
Add padding for notification dropdown on Android
2 parents 8313689 + 34e2b19 commit 09f029b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/component/notification-wrapper.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { StyleSheet, View } from 'react-native';
2+
import { StyleSheet, View, Platform, StatusBar } from 'react-native';
33
import { observer } from 'mobx-react';
44
import PropTypes from 'prop-types';
55
import DropdownAlert from 'react-native-dropdownalert';
@@ -18,6 +18,7 @@ const styles = StyleSheet.create({
1818
},
1919
dropdown: {
2020
backgroundColor: color.blackDark,
21+
paddingTop: Platform.OS === 'android' ? StatusBar.currentHeight + 5 : 0,
2122
},
2223
text: {
2324
fontFamily: 'OpenSans Regular',

0 commit comments

Comments
 (0)