Skip to content

Commit

Permalink
remove status bar related in styles
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvnguyen95 committed Feb 7, 2024
1 parent 88e2fad commit 1d19e29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions styles/LoginScreenStyle.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { StyleSheet, Platform } from "react-native";
import { StatusBar } from "expo-status-bar";

const styles = StyleSheet.create({
safeArea: {
flex: 1,
paddingTop: Platform.OS === "android" ? StatusBar.currentHeight : 0,
paddingTop: Platform.OS === "android" ? 25 : 0,
},
container: {
padding: 10,
Expand Down
3 changes: 1 addition & 2 deletions styles/RegisterScreenStyle.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { StatusBar } from "expo-status-bar";
import { StyleSheet, Platform } from "react-native";

const styles = StyleSheet.create({
safeArea: {
flex: 1,
paddingTop: Platform.OS === "android" ? StatusBar.currentHeight : 0,
paddingTop: Platform.OS === "android",
},
container: {
padding: 10,
Expand Down

0 comments on commit 1d19e29

Please sign in to comment.