Repository navigation
Conversation
The "Stay up to date!" prompt laid its content out in a fixed-height, non-scrolling column. On devices like the Pixel 5 and Pixel 9 with an enlarged font or display size, the content was taller than the sheet and the Save Preferences button was squeezed to a thin bar or pushed off screen entirely. The column now scrolls in portrait and landscape. It keeps a minimum height equal to the sheet, so when the content fits the layout is unchanged and the controls stay pinned to the bottom. The sheet is wired up with a nested scroll interop connection so scrolling the content doesn't fight the bottom sheet's drag-to-dismiss. In landscape the image now aligns to the top of the text so it's visible without scrolling, and a minimum gap separates the message from the checkboxes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The "Stay up to date!" notifications prompt now scrolls when its content doesn't fit, so the Save Preferences button is always reachable instead of being squeezed or pushed off screen.
The prompt laid its content out in a fixed-height column that couldn't scroll. When the image, text, checkboxes and button were taller than the sheet — for example on a Pixel 5 or Pixel 9 with an enlarged font or display size, especially when the Newsletter row is shown to logged-in users — the button got whatever height was left: a thin blue bar with no label, or nothing at all.
The column now scrolls in both orientations. It keeps a minimum height equal to the sheet, so when everything fits, the layout is unchanged and the controls stay pinned to the bottom. The image and text keep their original sizes. The sheet uses a nested scroll interop connection (the same pattern as other bottom sheets in the app) so scrolling the content doesn't fight the sheet's drag-to-dismiss.
Landscape had the same problem (the checkboxes and button were clipped). There, the image now aligns to the top of the text so it's visible without scrolling at large font sizes, and there's a minimum gap between the message and the checkboxes.
Testing Instructions
The prompt appears on the Podcasts tab when notification permission hasn't been granted and the prompt hasn't been shown before. To see the Newsletter row, be logged in with an account that hasn't opted in to marketing emails. To reset after seeing it, clear the app's data, or on a debug build set
notificationPromptAcknowledgedtofalsein the app's shared preferences.Screenshots or Screencast
UI changed — before/after screenshots to be added (Pixel 5 at 1.3x font before the fix, and portrait/landscape after).
Screen_recording_20261202_120837.mp4
Checklist
./gradlew spotlessApplyto automatically apply formatting/linting)modules/services/localization/src/main/res/values/strings.xmlI have tested any UI changes...
🤖 Generated with Claude Code