Skip to content

Commit

Permalink
🐛 Fix return values
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Oct 1, 2024
1 parent b2daaf8 commit d4854c1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ interface IDBUtils {
inputStream,
MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
values,
)?.copy(orientation = orientation ?: rotationDegrees)
)
}

fun saveImage(
Expand Down Expand Up @@ -391,7 +391,7 @@ interface IDBUtils {
MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
values,
shouldKeepPath
)?.copy(orientation = orientation ?: rotationDegrees)
)
}

fun saveVideo(
Expand Down Expand Up @@ -470,7 +470,7 @@ interface IDBUtils {
MediaStore.Video.Media.EXTERNAL_CONTENT_URI,
values,
shouldKeepPath
)?.copy(orientation = orientation ?: rotationDegrees)
)
}

private fun insertUri(
Expand Down

0 comments on commit d4854c1

Please sign in to comment.