mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
docs: fix incorrect @param name in checkDuplicateImage KDoc
This commit is contained in:
parent
c0cc4b090f
commit
f8abaac2e2
1 changed files with 4 additions and 3 deletions
|
|
@ -98,10 +98,11 @@ class UploadModel @Inject internal constructor(
|
|||
imageProcessingService.validateImage(uploadItem, inAppPictureLocation)
|
||||
|
||||
/**
|
||||
* Calls checkDuplicateImage() of ImageProcessingService to check if image is duplicate
|
||||
* Calls checkDuplicateImage() of ImageProcessingService to check if the image is a duplicate.
|
||||
*
|
||||
* @param filePath file to be checked
|
||||
* @return IMAGE_DUPLICATE or IMAGE_OK
|
||||
* @param originalFilePath The original file URI.
|
||||
* @param modifiedFilePath The modified file URI.
|
||||
* @return IMAGE_DUPLICATE if the file already exists, IMAGE_OK otherwise.
|
||||
*/
|
||||
fun checkDuplicateImage(originalFilePath: Uri?, modifiedFilePath: Uri?): Single<Int> =
|
||||
imageProcessingService.checkIfFileAlreadyExists(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue