Skip to content

Commit

Permalink
Crash fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
T8RIN committed Jan 28, 2025
1 parent 188262b commit 5f0c0c7
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,10 @@ internal class AndroidImageCombiner @Inject constructor(
}
}
}
size
IntegerSize(
width = size.width.coerceAtLeast(1),
height = size.height.coerceAtLeast(1)
)
}
}

Expand Down Expand Up @@ -331,7 +334,10 @@ internal class AndroidImageCombiner @Inject constructor(
w = maxWidth
}

IntegerSize(w, h) to drawables
IntegerSize(
width = w.coerceAtLeast(1),
height = h.coerceAtLeast(1)
) to drawables
}

private fun distributeImages(
Expand Down

0 comments on commit 5f0c0c7

Please sign in to comment.