Skip to content

Commit

Permalink
Google Play now supports screenshots ratio up to 2.3 (#3)
Browse files Browse the repository at this point in the history
Co-authored-by: Dmytro Dmytrenko <Dmytro.Dmytrenko@ig.com>
  • Loading branch information
ddmytrenko and Dmytro Dmytrenko authored Nov 30, 2024
1 parent f77a217 commit 3d81c0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@ func checkScreenshots(screenshotsPath string) []error {
width := float64(config.width)
height := float64(config.height)
ratio := math.Max(width, height) / math.Min(height, width)
if ratio > 2.0 {
const errFmt = "'max:min' edge radio should be at most 2.0: got=%.2f"
if ratio > 2.3 {
const errFmt = "'max:min' edge radio should be at most 2.3: got=%.2f"
errs = append(errs, &validationError{
File: imagePath,
Err: fmt.Errorf(errFmt, ratio),
Expand Down

0 comments on commit 3d81c0d

Please sign in to comment.