Skip to content

Commit

Permalink
Paywalls: Decrease max aspect ratio for tablets to have a max height (#…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
tonidero authored Oct 31, 2023
1 parent 1938d47 commit 007e89f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

/**
Expand Down

0 comments on commit 007e89f

Please sign in to comment.