Wholphin/app/src/main/java/com/github/damontecres/wholphin/ui
Ray a65b93e064
Enforce a minimum aspect ratio (#519)
## Description
When using a server provided aspect, force a minimum value (.666) in
case the server returns unusable data like zero.

Note: I have not been able to reproduce the errors in #451 to verify
that this PR will fix it. And it's not clear to me why #453 did not fix
it either. However, this PR shouldn't impact anything if the server is
sending valid aspect ratios and should at least prevent the crash on the
UI side.

### Related issues
Follow up to #453
Hopefully fixes #451
2025-12-20 14:39:59 -05:00
..
cards Enforce a minimum aspect ratio (#519) 2025-12-20 14:39:59 -05:00
components Rework internals of ApiRequestPager (#518) 2025-12-20 14:39:48 -05:00
data Improve trickplay image preview speed (#467) 2025-12-14 19:04:01 -05:00
detail TV Guide title clean up & align start to half hours (#517) 2025-12-20 11:54:41 -05:00
main Backdrop improvements (#476) 2025-12-17 11:18:57 -05:00
nav Backdrop improvements (#476) 2025-12-17 11:18:57 -05:00
playback Enforce a minimum aspect ratio (#519) 2025-12-20 14:39:59 -05:00
preferences Fix backdrop not clearing between tabs (#500) 2025-12-18 14:01:21 -05:00
setup Better images for genre grid (#501) 2025-12-19 10:46:57 -05:00
theme Backdrop improvements (#476) 2025-12-17 11:18:57 -05:00
util Move time tracking into a CompositionLocal (#493) 2025-12-17 13:25:36 -05:00
CoilConfig.kt Prefetch trickplay images (#445) 2025-12-12 22:04:52 -05:00
CoilTrickplayTransformation.kt Rebrand 2025-10-15 15:27:30 -04:00
CrossFadeFactory.kt Better video grid, poster images, & home page images (#238) 2025-11-17 13:44:03 -05:00
Extensions.kt Add setting to protect a user profile with a PIN (#356) 2025-12-04 14:37:27 -05:00
Formatting.kt Fixes to user interface (#374) 2025-12-05 11:35:50 -05:00
UiConstants.kt Enforce a minimum aspect ratio (#519) 2025-12-20 14:39:59 -05:00