From d4854c13304b944f95ddc313bc0d3a4d493bd971 Mon Sep 17 00:00:00 2001 From: Alex Li Date: Tue, 1 Oct 2024 20:56:23 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20return=20values?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fluttercandies/photo_manager/core/utils/IDBUtils.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android/src/main/kotlin/com/fluttercandies/photo_manager/core/utils/IDBUtils.kt b/android/src/main/kotlin/com/fluttercandies/photo_manager/core/utils/IDBUtils.kt index 58f32bd5..d9fb83e7 100644 --- a/android/src/main/kotlin/com/fluttercandies/photo_manager/core/utils/IDBUtils.kt +++ b/android/src/main/kotlin/com/fluttercandies/photo_manager/core/utils/IDBUtils.kt @@ -312,7 +312,7 @@ interface IDBUtils { inputStream, MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values, - )?.copy(orientation = orientation ?: rotationDegrees) + ) } fun saveImage( @@ -391,7 +391,7 @@ interface IDBUtils { MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values, shouldKeepPath - )?.copy(orientation = orientation ?: rotationDegrees) + ) } fun saveVideo( @@ -470,7 +470,7 @@ interface IDBUtils { MediaStore.Video.Media.EXTERNAL_CONTENT_URI, values, shouldKeepPath - )?.copy(orientation = orientation ?: rotationDegrees) + ) } private fun insertUri(