upd: warna status bar

deskripsi:
- warna status bar pada login, halaman kode otp, dan file layout aplikasi

No Issues
This commit is contained in:
2025-10-06 14:30:07 +08:00
parent a27c6181dd
commit d2cb7d7738
3 changed files with 4 additions and 3 deletions

View File

@@ -19,6 +19,7 @@ import { getMessaging, onMessage } from "@react-native-firebase/messaging";
import { Redirect, router, Stack, usePathname } from "expo-router";
import { StatusBar } from 'expo-status-bar';
import { useEffect } from "react";
import { Platform } from "react-native";
import { Easing, Notifier } from 'react-native-notifier';
import { Provider } from "react-redux";
@@ -148,7 +149,7 @@ export default function RootLayout() {
}}
/>
</Stack>
<StatusBar style="inverted" translucent={false} backgroundColor="black" />
<StatusBar style={'light'} translucent={false} backgroundColor="black" />
<ToastCustom />
</Provider>
)

View File

@@ -50,7 +50,7 @@ export default function ViewLogin({ onValidate }: Props) {
return (
<SafeAreaView>
<StatusBar style={Platform.OS === 'ios' ? 'auto' : 'light'} translucent={false} backgroundColor="black" />
<StatusBar style={Platform.OS === 'ios' ? 'dark' : 'light'} translucent={false} backgroundColor="black" />
<ToastCustom />
<View style={[Styles.p20, Styles.h100]}>
<View style={{ alignItems: "center", marginTop: 70, marginBottom: 50 }}>

View File

@@ -57,7 +57,7 @@ export default function ViewVerification({ phone, otp }: Props) {
return (
<>
<StatusBar style={Platform.OS === 'ios' ? 'auto' : 'light'} translucent={false} backgroundColor="black" />
<StatusBar style={Platform.OS === 'ios' ? 'dark' : 'light'} translucent={false} backgroundColor="black" />
<ToastCustom />
<View style={Styles.wrapLogin} >
<View style={{ alignItems: "center", marginTop: 70, marginBottom: 50 }}>