Skip to content

Conversation

@Siddharthshukla03
Copy link

This commit updates the Affirmations app to support edge-to-edge display.

The following changes were made:

  • Added necessary imports for WindowInsets, asPaddingValues, calculateEndPadding, calculateStartPadding, safeDrawing, statusBarsPadding, and LocalLayoutDirection.
  • Wrapped the AffirmationList composable in a Surface to handle system insets.
  • Applied statusBarsPadding() and additional padding using WindowInsets.safeDrawing to ensure content is not obscured by system bars.
  • Renamed AffirmationList to AffirmationsList for consistency.

This commit updates the Affirmations app to support edge-to-edge display.

The following changes were made:
- Added necessary imports for `WindowInsets`, `asPaddingValues`, `calculateEndPadding`, `calculateStartPadding`, `safeDrawing`, `statusBarsPadding`, and `LocalLayoutDirection`.
- Wrapped the `AffirmationList` composable in a `Surface` to handle system insets.
- Applied `statusBarsPadding()` and additional padding using `WindowInsets.safeDrawing` to ensure content is not obscured by system bars.
- Renamed `AffirmationList` to `AffirmationsList` for consistency.
@Siddharthshukla03
Copy link
Author

Hello maintainers, I've added edge -to-edge support for the Affirmations app. Let me know if any adjustments are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant