Better formatting

This commit is contained in:
Benoit Marty 2020-10-20 17:19:37 +02:00 committed by Benoit Marty
parent f567f92d8f
commit 723a833845

View File

@ -50,9 +50,7 @@ class GalleryOrCameraDialogHelper(
avatarCameraUri?.let { uri ->
MultiPicker.get(MultiPicker.CAMERA)
.getTakenPhoto(fragment.requireContext(), uri)
?.let {
listener.onImageReady(it)
}
?.let { listener.onImageReady(it) }
}
}
}
@ -62,9 +60,8 @@ class GalleryOrCameraDialogHelper(
MultiPicker
.get(MultiPicker.IMAGE)
.getSelectedFiles(fragment.requireContext(), activityResult.data)
.firstOrNull()?.let {
listener.onImageReady(it)
}
.firstOrNull()
?.let { listener.onImageReady(it) }
}
}