Skip to content

Commit

Permalink
quickfix: custom images should be resized uppon loading
Browse files Browse the repository at this point in the history
  • Loading branch information
mariobodemann committed Apr 17, 2024
1 parent ffc6ecc commit 38bd34d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fun PictureEditorDialog(
// yes, so read image
BitmapFactory.decodeStream(
context.contentResolver.openInputStream(uri),
)
).scaleIfNeeded(BADGE_WIDTH, BADGE_HEIGHT)
}.cropPageFromCenter()
}

Expand Down

0 comments on commit 38bd34d

Please sign in to comment.