From 99ee84a9985cc7b621d5d5a4c2e636d372a98b65 Mon Sep 17 00:00:00 2001 From: Bro Date: Sun, 16 Aug 2026 16:13:25 +0700 Subject: [PATCH] Kantongku: content area dengan pojok atas rounded di atas teal --- src/screens/DashboardScreen.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/screens/DashboardScreen.tsx b/src/screens/DashboardScreen.tsx index 90b0ef7..f12ece2 100644 --- a/src/screens/DashboardScreen.tsx +++ b/src/screens/DashboardScreen.tsx @@ -12,7 +12,7 @@ import { Text, View, } from 'react-native'; -import { SafeAreaView, useSafeAreaInsets } from 'react-native-safe-area-context'; +import { SafeAreaView } from 'react-native-safe-area-context'; import { colors } from '../theme/colors'; import { formatRupiah, formatRupiahShort, todayLabel } from '../utils/format'; import { @@ -38,7 +38,6 @@ const QUOTES = [ ]; export function DashboardScreen() { - const insets = useSafeAreaInsets(); const navigation = useNavigation>(); const [balance, setBalance] = useState(0); @@ -204,8 +203,8 @@ export function DashboardScreen() { return ( - - + + + ); } const styles = StyleSheet.create({ - safe: { flex: 1, backgroundColor: colors.background }, - statusStrip: { - position: 'absolute', - left: 0, - right: 0, - top: 0, - backgroundColor: colors.primary, + safe: { flex: 1, backgroundColor: colors.primary }, + contentWrap: { + flex: 1, + backgroundColor: colors.background, + borderTopLeftRadius: 24, + borderTopRightRadius: 24, + overflow: 'hidden', }, container: { flex: 1 }, content: { paddingBottom: 32 },