Skip to content

Commit 4d35f40

Browse files
authored
Merge pull request ZeusLN#1024 from kaloudis/android-top-margin
Android 12: remove top margin hack
2 parents 8050bd8 + 5d1e652 commit 4d35f40

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

App.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ export default class App extends React.PureComponent {
3333

3434
const styles = StyleSheet.create({
3535
container: {
36-
flex: 1,
37-
// TODO: find better workaround. Needed for Android 12 installs where
38-
// top gets cut off
39-
paddingTop: Platform.OS === 'android' ? StatusBar.currentHeight - 5 : 0
36+
flex: 1
4037
}
4138
});

0 commit comments

Comments
 (0)