PhotoViewer: let fullscreen video use the hidden navigation bar area
dallo28 committed
- Author
- dallo28 · dallo28@users.noreply.github.comOct 24, 2026 at 20:50
- Committer
- dallo28 · dallo28@users.noreply.github.comOct 24, 2026 at 20:50
- Parents
- 0aae959806c5
PhotoViewer: let fullscreen video use the hidden navigation bar area In landscape the viewer hides the navigation bar together with its controls, but the bottom inset was read ignoring visibility, so the bar's height stayed reserved and the video was fitted above an empty black band. Take the bottom inset from the visible insets, as before 12.9, so the video fills the screen while the bar is hidden and moves above it when the controls (and the bar) come back. Fixes https://bugs.telegram.org/c/65941
1 file changed+3−1