UI Fix: Pada tampilan ios bagian button ada yang ta terlihat dan sudah di perbaiki

### No Issue
This commit is contained in:
2025-10-21 11:17:37 +08:00
parent 57285e5697
commit faf0f36e53
7 changed files with 16 additions and 12 deletions

View File

@@ -14,7 +14,7 @@ export default function AdminButtonReject({
return (
<>
<ButtonCustom
iconLeft={<IconReject />}
iconLeft={<IconReject size={16} />}
backgroundColor={MainColor.red}
textColor="white"
onPress={onReject}

View File

@@ -12,7 +12,7 @@ import {
StyleProp,
ViewStyle,
} from "react-native";
import { SafeAreaView } from "react-native-safe-area-context";
import { NativeSafeAreaViewProps, SafeAreaView } from "react-native-safe-area-context";
interface ViewWrapperProps {
children: React.ReactNode;
@@ -21,6 +21,7 @@ interface ViewWrapperProps {
footerComponent?: React.ReactNode;
floatingButton?: React.ReactNode;
hideFooter?: boolean;
edgesFooter?: NativeSafeAreaViewProps["edges"];
style?: StyleProp<ViewStyle>;
}
@@ -37,6 +38,7 @@ const ViewWrapper = ({
footerComponent,
floatingButton,
hideFooter = false,
edgesFooter =[],
style,
}: ViewWrapperProps) => {
const assetBackground = require("../../assets/images/main-background.png");
@@ -77,7 +79,7 @@ const ViewWrapper = ({
{footerComponent ? (
<SafeAreaView
edges={["bottom"]}
edges={Platform.OS === "ios" ? edgesFooter : ["bottom"]}
style={{
backgroundColor: MainColor.darkblue,
height: OS_HEIGHT