Merge pull request 'amalia/06-okt-25' (#46) from amalia/06-okt-25 into join

Reviewed-on: bip/mobile-darmasaba#46
This commit is contained in:
2025-10-06 17:25:13 +08:00
4 changed files with 5 additions and 4 deletions

View File

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

View File

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

View File

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

View File

@@ -15,7 +15,7 @@ export default function EventItem({ category, title, user, jamAwal, jamAkhir, on
return ( return (
<Pressable style={[Styles.itemEvent, { backgroundColor: category == 'orange' ? '#FED6C5' : '#D8D8F1' }]} onPress={onPress}> <Pressable style={[Styles.itemEvent, { backgroundColor: category == 'orange' ? '#FED6C5' : '#D8D8F1' }]} onPress={onPress}>
<View style={[Styles.dividerEvent, { backgroundColor: category == 'orange' ? '#FB804C' : '#535FCA' }]} /> <View style={[Styles.dividerEvent, { backgroundColor: category == 'orange' ? '#FB804C' : '#535FCA' }]} />
<View> <View style={[Styles.w90]}>
<Text>{jamAwal} - {jamAkhir}</Text> <Text>{jamAwal} - {jamAkhir}</Text>
<Text numberOfLines={1} ellipsizeMode="tail" style={[Styles.textDefaultSemiBold, Styles.mv05]}>{title}</Text> <Text numberOfLines={1} ellipsizeMode="tail" style={[Styles.textDefaultSemiBold, Styles.mv05]}>{title}</Text>
<Text numberOfLines={1} ellipsizeMode="tail">Dibuat oleh : {user}</Text> <Text numberOfLines={1} ellipsizeMode="tail">Dibuat oleh : {user}</Text>