PdfViewer icon indicating copy to clipboard operation
PdfViewer copied to clipboard

Render below status bar in portrait orientation on devices with a display cutout

Open soupslurpr opened this issue 1 year ago • 2 comments

On devices with a display cutout, instead of hiding the status bar which shows a black bar, this makes it render below the bar by not hiding it when in portrait. Also uses the newer way to get the WindowInsetsController for SDKs supporting it.

soupslurpr avatar Dec 18 '23 19:12 soupslurpr

Thanks! Are you able to provide screenshots of what the app looks like now, and what it looks like with this PR?

matchboxbananasynergy avatar Dec 18 '23 19:12 matchboxbananasynergy

Yeah sure, here you go:

Before: Screenshot_20231218_120056

After: Screenshot_20231218_115954

soupslurpr avatar Dec 18 '23 20:12 soupslurpr