fix(blocker): ProtectionDetailsSheet — taller sheet (0.9) + bigger bottom padding so the bottom button clears the nav bar

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
chahinebrini 2026-05-11 16:44:26 +02:00
parent 6870f71265
commit 4e73d2ac92

View File

@ -39,7 +39,7 @@ type StatsResponse = {
};
const SCREEN_HEIGHT = Dimensions.get('window').height;
const DEFAULT_HEIGHT = SCREEN_HEIGHT * 0.85;
const DEFAULT_HEIGHT = SCREEN_HEIGHT * 0.9;
const EXPANDED_HEIGHT = SCREEN_HEIGHT * 0.95;
const MIN_HEIGHT = SCREEN_HEIGHT * 0.4;
const DISMISS_HEIGHT = SCREEN_HEIGHT * 0.3;
@ -212,7 +212,7 @@ export function ProtectionDetailsSheet({
</View>
<ScrollView
contentContainerStyle={{ padding: 20, paddingBottom: Math.max(insets.bottom, 16) + 24, gap: 18 }}
contentContainerStyle={{ padding: 20, paddingBottom: Math.max(insets.bottom, 32) + 56, gap: 18 }}
showsVerticalScrollIndicator
>
{loadingStats && !stats ? (