Skip to content

Commit d30774e

Browse files
Fix Unit page header overlapping status bar on mobile
Removed includePaddingTop={false} so the top safe-area is preserved, matching the DynamicDefaultCategorySelectorPage pattern. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 2265ed6 commit d30774e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pages/workspace/distanceRates/PolicyDistanceRateUnitPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ function PolicyDistanceRateUnitPage({route}: PolicyDistanceRateUnitPageProps) {
4141
featureName={CONST.POLICY.MORE_FEATURES.ARE_DISTANCE_RATES_ENABLED}
4242
>
4343
<ScreenWrapper
44-
style={[styles.pb0]}
45-
includePaddingTop={false}
44+
style={styles.pb0}
4645
enableEdgeToEdgeBottomSafeAreaPadding
46+
shouldEnableKeyboardAvoidingView={false}
4747
testID={PolicyDistanceRateUnitPage.displayName}
4848
>
4949
<HeaderWithBackButton title={translate('workspace.distanceRates.unit')} />

0 commit comments

Comments
 (0)