Skip to content

Commit

Permalink
[chore] #141 option inSampleSize change 4 to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jokwanhee committed Apr 19, 2024
1 parent 20243c7 commit a995e0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class HomeBottomSheetFragment : BottomSheetDialogFragment() {
if (isSuccess) {
binding.pvLoading.visibility = View.VISIBLE
pictureUri?.let { uri ->
bitmapUtil.createUriToBitmap(uri, size = 4)?.let { bitmap ->
bitmapUtil.createUriToBitmap(uri, size = 2)?.let { bitmap ->
viewModel.getMissionImage(S3_BUCKET_NAME, bitmap)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class HomePhotoDialogFragment :
binding.ivPhoto.load(photoUri)

binding.tvConfirm.setOnClickListener {
bitmapUtil.createUriToBitmap(photoUri, size = 4)?.let { bitmap ->
bitmapUtil.createUriToBitmap(photoUri, size = 2)?.let { bitmap ->
binding.pvLoading.visibility = View.VISIBLE
viewModel.getMissionImage(
S3_BUCKET_NAME, bitmap
Expand Down

0 comments on commit a995e0b

Please sign in to comment.