From 007e89f2f0e3bfacde9e117176a89ff27a7795fa Mon Sep 17 00:00:00 2001 From: Toni Rico Date: Tue, 31 Oct 2023 20:22:51 +0100 Subject: [PATCH] Paywalls: Decrease max aspect ratio for tablets to have a max height (#1422) ### Description Followup to #1419 I was playing with this value and in a slightly more wide tablet, it would use the full height... So I want to decrease this max aspect ratio a bit to avoid those tablets from having the full height of the screen. --- .../com/revenuecat/purchases/ui/revenuecatui/PaywallDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/revenuecatui/src/main/kotlin/com/revenuecat/purchases/ui/revenuecatui/PaywallDialog.kt b/ui/revenuecatui/src/main/kotlin/com/revenuecat/purchases/ui/revenuecatui/PaywallDialog.kt index 85cb28713c..c69f291039 100644 --- a/ui/revenuecatui/src/main/kotlin/com/revenuecat/purchases/ui/revenuecatui/PaywallDialog.kt +++ b/ui/revenuecatui/src/main/kotlin/com/revenuecat/purchases/ui/revenuecatui/PaywallDialog.kt @@ -24,7 +24,7 @@ import kotlinx.coroutines.launch private object UIDialogConstants { const val MAX_HEIGHT_PERCENTAGE_TABLET = 0.85f - const val MAX_ASPECT_RATIO_TO_APPLY_MAX_HEIGHT = 1.5f + const val MAX_ASPECT_RATIO_TO_APPLY_MAX_HEIGHT = 1.25f } /**